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

ray at ghostscript.com ray at ghostscript.com
Fri Feb 29 10:53:14 PST 2008


Author: ray
Date: 2008-02-29 10:53:14 -0800 (Fri, 29 Feb 2008)
New Revision: 8560

Modified:
   trunk/gs/src/iccinit1.c
Log:
Add default FontResourceDir needed when COMPILE_INITS=1 is used so
that the fonts from Resource/Font in the distribution directory that
are built into %rom%Resource/Font/ will be found.


Modified: trunk/gs/src/iccinit1.c
===================================================================
--- trunk/gs/src/iccinit1.c	2008-02-29 08:13:08 UTC (rev 8559)
+++ trunk/gs/src/iccinit1.c	2008-02-29 18:53:14 UTC (rev 8560)
@@ -26,6 +26,9 @@
 	"systemdict /GenericResourceDir known not { " 		/* if GenericResourceDir was */
 	"systemdict /GenericResourceDir (%rom%Resource/) put "	/* not set on command line,  */
 	"} if "							/* set to %rom%Resource/     */
+	"systemdict /FontResourceDir known not { " 		/* if GenericResourceDir was */
+	"systemdict /FontResourceDir (%rom%Resource/Font/) put "/* not set on command line,  */
+	"} if "							/* set to %rom%Resource/     */
 	"(gs_init.ps) .libfile not { "
 	"(Can't find initialization file gs_init.ps.\\n) print flush quit "	/* OOPS! */
 	"} if cvx exec "					/* now run the init file       */



More information about the gs-cvs mailing list