#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
'
do
fi
fi
done
# ###########################################################################
#
# Append desktop font aliases to font path
#
# ###########################################################################
# Combine lines together to make arguments for the xset command
BEGIN { fp="fp+ " }
/^[ ]*$/ { fp=" +fp " ; continue }
{ printf("%s%s", fp, $0) ; fp="," } ' $1`
fi
}
fp=" fp+ "
}
/^[ ]*$/ {
fp=" +fp " ; continue }
system(cmd); } ' $1
}
#
# Reset Xserver font path to its default values
#
# Append desktop font paths. Note: these directories should be
# accessable by the X server. The file precedence is:
#
#
#
# Since X server is local, optimize by checking local desktop
# font directories and making one call to xset.
#
if [ -r $OWFONTPATH ]; then
fi
fi
if [ "x$fontpath" = x ]; then
else
fi
fi
if [ "$LING" != "C" ]; then
if [ "x$fontpath" = x ]; then
else
fi
fi
if [ "x$fontpath" = x ]; then
else
fi
fi
fi
if [ "x$fontpath" != x ]; then
fi
else
#
# Since X server not local, we don't know if the desktop font
# directories exist on the X server machine, so we have to
# set them one at a time.
#
if [ -r $OWFONTPATH ]; then
fi
if [ "$LING" != "C" ]; then
fi
#
# Append Font Server to tail of path.
# Will server any "-dt-" fonts not found on the remote machine.
#
dom=`/usr/bin/domainname`
FS_HOSTNAME=''
if [ ! -z "$dom" ]; then
fi
FS_HOSTNAME="${Hostname}${dom}"
fi
if [ -z "$FS_HOSTNAME" ] || \
then
FS_HOSTNAME="${Hostname}"
fi
fi
fi