shithub: freetype+ttf2subf

Download patch

ref: 57ce0bee449bfc6fa418f1492ef23cb4baeb7c95
parent: 77b68b8e735cd9b6ad380855617117c4e89c88bb
author: David Turner <[email protected]>
date: Wed Jan 8 05:06:19 EST 2003

* src/winfonts/winfnt.c: read 16 bytes into "reserved2", not "reserved"

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2003-01-08  Huw Dawies  <[email protected]>
+
+        * src/winfonts/winfnt.c: read 16 bytes into "reserved2", not "reserved"
+
+        * src/base/ftobjs.c (find_unicode_charmap): fixed the error code
+        returned when the font doesn't contain a Unicode charmap. This
+        allows FT2 to load "symbol.ttf" and a few others correctly since
+        the last release
+
+
 2003-01-08  Owen Taylor  <[email protected]>
 
         * src/autohint/ahtypes.h, src/autohint/ahhint.c, src/pshinter/pshalgo3.h,
@@ -8,11 +18,6 @@
         composites correctly by limiting the recursion depth
 
 2003-01-08  David Turner  <[email protected]>
-
-        * src/base/ftobjs.c (find_unicode_charmap): fixed the error code
-        returned when the font doesn't contain a Unicode charmap. This
-        allows FT2 to load "symbol.ttf" and a few others correctly since
-        the last release
 
         * Jamrules, Jamfile, Jamfile.in, src/*/Jamfile: small changes to
         support the compilation of FreeType 2 as part of larger projects with
--- a/src/winfonts/winfnt.c
+++ b/src/winfonts/winfnt.c
@@ -106,7 +106,7 @@
       FT_FRAME_USHORT_LE( B_space ),
       FT_FRAME_USHORT_LE( C_space ),
       FT_FRAME_USHORT_LE( color_table_offset ),
-      FT_FRAME_BYTES    ( reserved, 16 ),
+      FT_FRAME_BYTES    ( reserved2, 16 ),
     FT_FRAME_END
   };