15760N/A# The contents of this file are subject to the terms of the 15760N/A# Common Development and Distribution License, Version 1.0 only 15760N/A# (the "License"). You may not use this file except in compliance 15760N/A# See the License for the specific language governing permissions 15760N/A# and limitations under the License. 15760N/A# When distributing Covered Code, include this CDDL HEADER in each 15760N/A# If applicable, add the following below this CDDL HEADER, with the 15760N/A# fields enclosed by brackets "[]" replaced with your own identifying 15760N/A# information: Portions Copyright [yyyy] [name of copyright owner] 15760N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 15760N/A# Use is subject to license terms. 15760N/A# ########################################################################### 15760N/A# Append desktop font aliases to font path 15760N/A# ########################################################################### 15760N/A # Combine lines together to make arguments for the xset command 15760N/A /^[ ]*$/ { fp=" +fp " ; continue } 15760N/A { printf("%s%s", fp, $0) ; fp="," } ' $1` 15760N/A# Reset Xserver font path to its default values 15760N/A# Append desktop font paths. Note: these directories should be 15760N/A# accessable by the X server. The file precedence is: 15760N/A # Since X server is local, optimize by checking local desktop 15760N/A # font directories and making one call to xset. 15760N/A # Since X server not local, we don't know if the desktop font 15760N/A # directories exist on the X server machine, so we have to 15760N/A # Append Font Server to tail of path. 15760N/A # Will server any "-dt-" fonts not found on the remote machine.