shithub: freetype+ttf2subf

Download patch

ref: b848b682742ce509f1da529e7e759006726806ff
parent: fdc4600e5ab89126bbd8c9bdc9d26b175febd2c6
author: David Turner <[email protected]>
date: Tue Feb 25 16:44:11 EST 2003

reduce compiler warnings

git/fs: mount .git/fs: mount/attach disallowed
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -6,7 +6,8 @@
       platforms.
 
     - a fix in the Gzip stream reader, it couldn't read certain .gz files
-      properly due to a small typo
+      properly due to a small typo. In certain cases, FreeType could also
+      loop endlessly when trying to load tiny gzipped files.
 
     - the configure script now tries to use the system-wide zlib when
       it finds one (instead of the copy found in src/gzip). And
@@ -29,6 +30,12 @@
       necessary to prevent broken fonts to break the engine by blowing the
       stack with recursive glyph definitions.
 
+    - the CMap cache is now capable of managing UCS-4 character codes that
+      are mapped through extended charmaps in recent TrueType/OpenType fonts
+
+    - the PFR driver didn't return the list of available embedded bitmaps
+      properly.
+
   II. IMPORTANT CHANGES
 
     - David Chester contributed some enhancements to the auto-hinter that
@@ -47,6 +54,10 @@
     - TrueType tables without a "hmtx" table are now tolerated when an
       incremental interface is used. This happens for certain Type42 fonts
       passed from Ghostscript to FreeType.
+
+    - the PFR font driver is now capable of returning the font family and
+      style names when they're available (instead of the sole "FontID"). This
+      is performed by parsing an *undocumented* portion of the font file !!
 
   III. MISCELLANEOUS
 
--- a/src/pfr/pfrload.c
+++ b/src/pfr/pfrload.c
@@ -899,8 +899,6 @@
 
           case 3:
             {
-              FT_UInt   n, len, ok;
-
              /* this seems to correspond to the font's style name,
               * padded to 16-bits with one zero when necessary
               */