0110.fonts revision 15760
# 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 # See the License for the specific language governing permissions # and limitations under the License. # When distributing Covered Code, include this CDDL HEADER in each # 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] # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ########################################################################### # Append desktop font aliases to font path # ########################################################################### # Combine lines together to make arguments for the xset command /^[ ]*$/ { fp=" +fp " ; continue } { printf("%s%s", fp, $0) ; fp="," } ' $1` {cmd = sprintf("%s%s%s%s",XSET,fp, $0," 1>/dev/null"); # 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 [
"$LING" !=
"C" ];
then # 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 [
"$LING" !=
"C" ];
then # Append Font Server to tail of path. # Will server any "-dt-" fonts not found on the remote machine. $XSET fp+
"tcp/${FS_HOSTNAME}:7100"