Commit b6b63375390996caa1d5aac73d68f61cd98e69aa

David Turner 2003-04-09T06:55:57

* src/bdf/bdfdrivr.h, src/pcf/pcf.h: changed FT_Short to FT_UShort in order to be able to access more than 32768 glyphs in fonts

diff --git a/ChangeLog b/ChangeLog
index 1f405e7..74b7b1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2003-04-09  Mike Fabian  <mfabian@suse.de>
+
+   * src/bdf/bdfdrivr.h, src/pcf/pcf.h: changed FT_Short to FT_UShort in
+   order to be able to access more than 32768 glyphs in fonts
+
+2003-04-08  David Turner  <david@freetype.org>
+
+   FreeType 2.1.4 Released
+   =======================
+
 2003-04-03  Martin Muskens  <mmuskens@aurelon.com>
 
    * src/type1/t1load.c (T1_Open_Face): fixed the code to make it handle
@@ -47,7 +57,7 @@
 
 2003-03-15  David Turner  <david@freetype.org>
 
-    * src/truetyoe/ttdriver.c (Set_Char_Sizes): fixed a small rounding bug.
+    * src/truetype/ttdriver.c (Set_Char_Sizes): fixed a small rounding bug.
     Actually, it seems that previous versions of FreeType didn't perform
     TrueType rounding exactly as appropriate.
 
diff --git a/docs/CHANGES b/docs/CHANGES
index 0a8e3f8..2169976 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -41,6 +41,9 @@ LATEST CHANGES BETWEEN 2.1.4 and 2.1.3
     - the PFR driver didn't return the list of available embedded bitmaps
       properly.
 
+    - there was a nasty memory leak when using embedded bitmaps in certain
+      font formats.
+
   II. IMPORTANT CHANGES
 
     - David Chester contributed some enhancements to the auto-hinter that
diff --git a/src/bdf/bdfdrivr.h b/src/bdf/bdfdrivr.h
index 5c58964..1e0224c 100644
--- a/src/bdf/bdfdrivr.h
+++ b/src/bdf/bdfdrivr.h
@@ -39,8 +39,8 @@ FT_BEGIN_HEADER
 
   typedef struct  BDF_encoding_el_
   {
-    FT_ULong  enc;
-    FT_Short  glyph;
+    FT_ULong   enc;
+    FT_UShort  glyph;
 
   } BDF_encoding_el;
 
diff --git a/src/pcf/pcf.h b/src/pcf/pcf.h
index 1b7b585..5223564 100644
--- a/src/pcf/pcf.h
+++ b/src/pcf/pcf.h
@@ -124,10 +124,10 @@ FT_BEGIN_HEADER
   } PCF_AccelRec, *PCF_Accel;
 
 
-  typedef struct  PCD_EncodingRec_
+  typedef struct  PCF_EncodingRec_
   {
-    FT_Long   enc;
-    FT_Short  glyph;
+    FT_Long    enc;
+    FT_UShort  glyph;
 
   } PCF_EncodingRec, *PCF_Encoding;