shithub: freetype+ttf2subf

Download patch

ref: 4f108391d8a088f1f8956233cc47b89214bbdb3f
parent: 3c5a3e45c959de4b17daecb63d3aab92a6741256
author: David Turner <[email protected]>
date: Wed May 1 04:40:53 EDT 2002

* src/sfnt/sfobjs.c (tt_face_get_name): fixing a bug that
          caused FreeType to crash when certain broken fonts (e.g.
          "hya6gb.ttf") were opened.

        * src/sfnt/ttload.c (TT_Load_Names): applied a small work-around to
          manage fonts containing a broken name table (e.g. "hya6gb.ttf")

        * src/sfnt/ttcmap0.c (tt_cmap4_validate):
          fixed over-restrictive validation test. the charmap validator
          now accepts overlapping ranges in format 4 charmaps.

        * src/sfnt/ttcmap0.c (tt_cmap4_char_index):
          switched to a binary search algorithm. Certain fonts contain
          more than 170 distinct segments !!

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-01  David Turner  <[email protected]>
+
+        * src/sfnt/sfobjs.c (tt_face_get_name): fixing a bug that
+          caused FreeType to crash when certain broken fonts (e.g.
+          "hya6gb.ttf") were opened.
+
+        * src/sfnt/ttload.c (TT_Load_Names): applied a small work-around to
+          manage fonts containing a broken name table (e.g. "hya6gb.ttf")
+
 2002-04-30  Wenlin Institute (Tom Bishop) <[email protected]>
 
 	* src/base/ftmac.c (p2c_str): Removed.