[gs-cvs] rev 8318 - trunk/gs/src

giles at ghostscript.com giles at ghostscript.com
Wed Oct 24 16:32:20 PDT 2007


Author: giles
Date: 2007-10-24 16:32:20 -0700 (Wed, 24 Oct 2007)
New Revision: 8318

Modified:
   trunk/gs/src/configure.ac
Log:
Append the CUPS font directory to the search path. Bug 689334.


Modified: trunk/gs/src/configure.ac
===================================================================
--- trunk/gs/src/configure.ac	2007-10-24 22:46:28 UTC (rev 8317)
+++ trunk/gs/src/configure.ac	2007-10-24 23:32:20 UTC (rev 8318)
@@ -962,6 +962,11 @@
 	# These font directories are used by Solaris...
 	fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1"
 	fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType"
+
+	# This font directory is used by CUPS...
+	if test "x$CUPSCONFIG" != x; then
+	  fontpath="${fontpath}:`$CUPSCONFIG --datadir`/fonts"
+	fi
 fi
 
 AC_SUBST(fontpath)



More information about the gs-cvs mailing list