shithub: freetype+ttf2subf

Download patch

ref: 82942cc2791584e08c147aed2e0957ed49662136
parent: 3562d014e6579746f1876a6952c6567f9294c5a4
author: David Turner <[email protected]>
date: Thu Mar 30 03:43:03 EST 2000

simple fix required by the auto-hinting module
(sets the ft_outline_reverse_fill bit_flag)

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/type1/t1gload.c
+++ b/src/type1/t1gload.c
@@ -1597,7 +1597,9 @@
         
         if ( size->root.metrics.y_ppem < 24 )
           glyph->root.outline.flags |= ft_outline_high_precision;
-        
+
+        glyph->root.outline.flags |= ft_outline_reverse_fill;
+                
         /*
         glyph->root.outline.second_pass    = TRUE;
         glyph->root.outline.high_precision = ( size->root.metrics.y_ppem < 24 );
@@ -1642,7 +1644,7 @@
         }
       }
     }
-
+    
     return error;
   }
 
--- a/src/type1z/t1gload.c
+++ b/src/type1z/t1gload.c
@@ -1332,6 +1332,9 @@
         glyph->root.outline.flags &= ft_outline_owner;
         if ( size->root.metrics.y_ppem < 24 )
           glyph->root.outline.flags |= ft_outline_high_precision;
+
+        glyph->root.outline.flags |= ft_outline_reverse_fill;
+                
         /*
         glyph->root.outline.second_pass    = TRUE;
         glyph->root.outline.high_precision = ( size->root.metrics.y_ppem < 24 );