shithub: freetype+ttf2subf

Download patch

ref: 557981262255d408ae790107d9ee3f8012651821
parent: 61d6b2b9aa6f639dac8cd75e1c1bc7dc9702b0bb
author: Werner Lemberg <[email protected]>
date: Thu May 17 02:27:17 EDT 2001

formatting

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,19 +1,30 @@
 2001-05-16  David Turner  <[email protected]>
 
-    * src/truetype/ttgload.c (load_truetype_glyph): fixed a bug in the
-    composite loader spotted by Keith Packard.
+	* src/truetype/ttgload.c (load_truetype_glyph): Fixed a bug in the
+	composite loader.  Spotted by Keith Packard.
+	* src/base/ftobjs.c (FT_GlyphLoader_Check_Points,
+	FT_GlyphLoader_Check_Subglyphs): Ditto.
 
 2001-05-14  David Turner  <[email protected]>
 
-    * src/base/ftcalc.c (FT_DivFix): fixed a bug in the 64-bit code that
-    created incorrect scale factors !!
+	Fixed the incorrect blue zone computations, and improved the
+	composite support.  Note that these changes result in improved
+	rendering, while sometimes introducing their own artefacts.  This is
+	probably the last big change to the autohinter before the
+	introduction of a complete replacement.
 
-    * src/autohint/ahglobal.c, src/autohint/ahglyph.c, src/autohint/ahhint.c:
-    fixed the incorrect blue zone computations, and improved the composite
-    support. Note that these changes result in improved rendering, while
-    sometimes introducing their own artefacts. That's probably the last
-    big change to the autohinter before the introduction of its complete
-    replacement..
+	* src/autohint/ahglobal.c (sort_values): Fix loop.
+	* src/autohint/ahglyph.c: Removed some obsolete code.
+	(ah_outline_compute_edges): Modify code to set the ah_edge_round
+	flag.
+	(ah_outline_compute_blue_edges): Add code to compute active blue
+	zones.
+	* src/autohint/ahhint.c (ah_hinter_glyph_load): Change load_flags
+	value.
+
+	* src/base/ftcalc.c (FT_DivFix): Fixed a bug in the 64-bit code that
+	created incorrect scale factors!
+	(FT_Round_Fix, FT_CeilFix, FT_FloorFix): Minor improvements.
 
 2001-05-12  Werner Lemberg  <[email protected]>
 
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -434,8 +434,8 @@
     {
       new_max = ( new_max + 7 ) & -8;
 
-      if ( REALLOC_ARRAY( base->points, old_max, new_max, FT_Vector )    ||
-           REALLOC_ARRAY( base->tags,   old_max, new_max, FT_Byte   )    )
+      if ( REALLOC_ARRAY( base->points, old_max, new_max, FT_Vector ) ||
+           REALLOC_ARRAY( base->tags,   old_max, new_max, FT_Byte   ) )
        goto Exit;
 
       if ( loader->use_extra &&