Commit 4f108391d8a088f1f8956233cc47b89214bbdb3f

David Turner 2002-05-01T08:40:53

* 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 !!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/ChangeLog b/ChangeLog
index 5e4e8c6..ebd95ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-01  David Turner  <david@freetype.org>
+
+        * 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) <wenlin@wenlin.com>
 
 	* src/base/ftmac.c (p2c_str): Removed.