[gs-cvs] gs/src

L. Peter Deutsch lpd at casper.ghostscript.com
Thu Mar 28 16:48:23 PST 2002


Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv15677/src

Modified Files:
	lib.mak gsfont.h 
Log Message:

Fix: gsfont.h didn't define gs_matrix as an opaque type, causing clients of
gsfont.h to include gsmatrix.h unnecessarily.


Index: lib.mak
===================================================================
RCS file: /cvs/ghostscript/gs/src/lib.mak,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- lib.mak	15 Mar 2002 18:21:17 -0000	1.67
+++ lib.mak	29 Mar 2002 00:48:21 -0000	1.68
@@ -382,7 +382,8 @@
 gxfcache_h=$(GLSRC)gxfcache.h $(gsuid_h) $(gsxfont_h)\
  $(gxbcache_h) $(gxftype_h)
 gxfont_h=$(GLSRC)gxfont.h\
- $(gsccode_h) $(gsfont_h) $(gsgdata_h) $(gsnotify_h) $(gsstype_h) $(gsuid_h)\
+ $(gsccode_h) $(gsfont_h) $(gsgdata_h) $(gsmatrix_h) $(gsnotify_h)\
+ $(gsstype_h) $(gsuid_h)\
  $(gxftype_h)
 gxiparam_h=$(GLSRC)gxiparam.h $(gsstype_h) $(gxdevcli_h)
 gscie_h=$(GLSRC)gscie.h $(gconfigv_h) $(gsrefct_h) $(gsstype_h) $(gxctable_h)

Index: gsfont.h
===================================================================
RCS file: /cvs/ghostscript/gs/src/gsfont.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gsfont.h	21 Feb 2002 22:24:52 -0000	1.4
+++ gsfont.h	29 Mar 2002 00:48:21 -0000	1.5
@@ -16,10 +16,14 @@
 
 /* $Id$ */
 /* Generic font and font cache interface */
-/* Requires gsmatrix.h */
 
 #ifndef gsfont_INCLUDED
 #  define gsfont_INCLUDED
+
+#ifndef gs_matrix_DEFINED
+#  define gs_matrix_DEFINED
+typedef struct gs_matrix_s gs_matrix;
+#endif
 
 /* A 'font directory' object (to avoid making fonts global). */
 /* 'directory' is something of a misnomer: this structure */




More information about the gs-cvs mailing list