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

leonardo at ghostscript.com leonardo at ghostscript.com
Thu Oct 26 01:26:32 PDT 2006


Author: leonardo
Date: 2006-10-26 01:26:31 -0700 (Thu, 26 Oct 2006)
New Revision: 7128

Modified:
   trunk/gs/src/gxfcopy.c
   trunk/gs/src/lib.mak
Log:
Fix : Specialize the build_char function argument type (continued).

DETAILS :

Removing another cast related to the last patch
(An MSVC warning).

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/src/gxfcopy.c
===================================================================
--- trunk/gs/src/gxfcopy.c	2006-10-26 07:53:20 UTC (rev 7127)
+++ trunk/gs/src/gxfcopy.c	2006-10-26 08:26:31 UTC (rev 7128)
@@ -23,10 +23,12 @@
 #include "gspath.h"		/* for gs_moveto in BuildChar */
 #include "gsstruct.h"
 #include "gsutil.h"
+#include "gschar.h"
 #include "stream.h"
 #include "gxfont.h"
 #include "gxfont1.h"
 #include "gxfont42.h"
+#include "gxchar.h"
 #include "gxfcid.h"
 #include "gxfcopy.h"
 #include "gxfcache.h"		/* for gs_font_dir_s */
@@ -731,7 +733,7 @@
     wxy[3] = info.bbox.p.y;
     wxy[4] = info.bbox.q.x;
     wxy[5] = info.bbox.q.y;
-    if ((code = gs_text_setcachedevice(pte, wxy)) < 0 ||
+    if ((code = gs_setcachedevice_double(pte, pte->pgs, wxy)) < 0 ||
 	(code = font->procs.glyph_outline(font, wmode, glyph, &ctm_only(pgs),
 					  pgs->path, sbw_stub)) < 0
 	)

Modified: trunk/gs/src/lib.mak
===================================================================
--- trunk/gs/src/lib.mak	2006-10-26 07:53:20 UTC (rev 7127)
+++ trunk/gs/src/lib.mak	2006-10-26 08:26:31 UTC (rev 7128)
@@ -2190,8 +2190,8 @@
 	$(SETMOD) $(GLD)fcopy $(fcopy_)
 
 $(GLOBJ)gxfcopy.$(OBJ) : $(GLSRC)gxfcopy.c $(memory__h) $(GXERR)\
- $(gscencs_h) $(gsline_h) $(gspaint_h) $(gspath_h) $(gsstruct_h) $(gsutil_h)\
- $(gxfont_h) $(gxfont1_h) $(gxfont42_h) $(gxfcid_h) $(gxfcopy_h) $(gxfcache_h)\
+ $(gscencs_h) $(gsline_h) $(gspaint_h) $(gspath_h) $(gsstruct_h) $(gsutil_h) $(gschar_h)\
+ $(gxfont_h) $(gxfont1_h) $(gxfont42_h) $(gxchar_h) $(gxfcid_h) $(gxfcopy_h) $(gxfcache_h)\
  $(gxistate_h) $(gxtext_h) $(gxtype1_h)\
  $(gzstate_h)\
  $(gdevpsf_h) $(stream_h)



More information about the gs-cvs mailing list