Commit b848b682742ce509f1da529e7e759006726806ff

David Turner 2003-02-25T21:44:11

reduce compiler warnings

diff --git a/docs/CHANGES b/docs/CHANGES
index b8ffb64..673a5e9 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -6,7 +6,8 @@ LATEST CHANGES BETWEEN 2.1.4 and 2.1.3
       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 @@ LATEST CHANGES BETWEEN 2.1.4 and 2.1.3
       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
@@ -48,6 +55,10 @@ LATEST CHANGES BETWEEN 2.1.4 and 2.1.3
       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
 
     - the path stroker in FT_STROKER_H has entered beta stage. It now works
diff --git a/src/pfr/pfrload.c b/src/pfr/pfrload.c
index aeaed5c..87d0757 100644
--- 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
               */