[gs-commits] rev 11138 - trunk/gs/psi

chrisl at ghostscript.com chrisl at ghostscript.com
Tue Apr 27 16:06:06 UTC 2010


Author: chrisl
Date: 2010-04-27 16:06:05 +0000 (Tue, 27 Apr 2010)
New Revision: 11138

Modified:
   trunk/gs/psi/fapi_ft.c
Log:
Add back in a call removed in (a merging) error in my previous commit (11137).

Modified: trunk/gs/psi/fapi_ft.c
===================================================================
--- trunk/gs/psi/fapi_ft.c	2010-04-27 14:53:14 UTC (rev 11137)
+++ trunk/gs/psi/fapi_ft.c	2010-04-27 16:06:05 UTC (rev 11138)
@@ -470,6 +470,9 @@
         a_metrics->em_y = ft_face->units_per_EM;
     }
 
+    if (!ft_error && a_glyph)
+        ft_error = FT_Get_Glyph(ft_face->glyph, a_glyph);
+
     if (ft_error == FT_Err_Too_Many_Hints) {
 #ifdef DEBUG
 	if (gs_debug_c('1')) {
@@ -502,7 +505,6 @@
 #endif
 	ft_error = 0;
     }
-
     return ft_to_gs_error(ft_error);
 } 
 
@@ -1014,7 +1016,7 @@
     Control2x = float2fixed((x + Controlx * 2) / 3) << 8;
     Control2y = float2fixed((y + Controly * 2) / 3) << 8;
 
-    return p->path->curveto(p->path, (FracInt)Control1x,
+    return p->path->curveto(p->path, Control1x,
 	    (FracInt)Control1y,
 	    (FracInt)Control2x,
 	    (FracInt)Control2y,



More information about the gs-commits mailing list