shithub: freetype+ttf2subf

Download patch

ref: 4997097752fe201a075c6dd9838f350d0e419efb
parent: acfea4ddd9ba75cf207a922146b5fbef7fddb71b
author: David Turner <[email protected]>
date: Wed Mar 6 07:39:12 EST 2002

* src/pshinter/pshalgo2.c: changed 'print_zone' to 'psh2_print_zone'
        * src/pshinter/pshalgo1.c: changed 'print_zone' to 'psh1_print_zone'

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
         fixed another bug related to the ascender/descender/text height of
         Postscript fonts. Damn, this should have been fixed on 2002-03-04 !
 
+        * src/pshinter/pshalgo2.c: changed 'print_zone' to 'psh2_print_zone'
+        * src/pshinter/pshalgo1.c: changed 'print_zone' to 'psh1_print_zone'
+
+
 2002-03-06  Werner Lemberg  <[email protected]>
 
 	* src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/.
--- a/src/pshinter/pshalgo1.c
+++ b/src/pshinter/pshalgo1.c
@@ -498,7 +498,7 @@
 #include <stdio.h>
 
   static void
-  print_zone( PSH1_Zone  zone )
+  psh1_print_zone( PSH1_Zone  zone )
   {
     printf( "zone [scale,delta,min,max] = [%.3f,%.3f,%d,%d]\n",
              zone->scale / 65536.0,
@@ -508,7 +508,7 @@
   }
 
 #else
-#define print_zone( x )  do { } while ( 0 )
+#define psh1_print_zone( x )  do { } while ( 0 )
 #endif
 
   /* setup interpolation zones once the hints have been grid-fitted */
@@ -549,7 +549,7 @@
     zone->min   = PSH1_ZONE_MIN;
     zone->max   = hint->org_pos;
 
-    print_zone( zone );
+    psh1_print_zone( zone );
 
     zone++;
 
@@ -570,7 +570,7 @@
         zone->max   = hint->org_pos + hint->org_len;
         zone->delta = hint->cur_pos - FT_MulFix( zone->min, scale2 );
 
-        print_zone( zone );
+        psh1_print_zone( zone );
 
         zone++;
       }
@@ -593,7 +593,7 @@
       zone->delta = hint->cur_pos + hint->cur_len -
                     FT_MulFix( zone->min, scale2 );
 
-      print_zone( zone );
+      psh1_print_zone( zone );
 
       zone++;
 
@@ -607,7 +607,7 @@
     zone->delta = hint->cur_pos + hint->cur_len -
                   FT_MulFix( zone->min, scale );
 
-    print_zone( zone );
+    psh1_print_zone( zone );
 
     zone++;