shithub: freetype+ttf2subf

Download patch

ref: b6b63375390996caa1d5aac73d68f61cd98e69aa
parent: e0ec6b3d53ef94925d41a4392ed7d5a219aa606b
author: David Turner <[email protected]>
date: Wed Apr 9 02:55:57 EDT 2003

* 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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2003-04-09  Mike Fabian  <[email protected]>
+
+   * 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  <[email protected]>
+
+   FreeType 2.1.4 Released
+   =======================
+
 2003-04-03  Martin Muskens  <[email protected]>
 
    * src/type1/t1load.c (T1_Open_Face): fixed the code to make it handle
@@ -47,7 +57,7 @@
 
 2003-03-15  David Turner  <[email protected]>
 
-    * 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.
 
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -41,6 +41,9 @@
     - 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
--- a/src/bdf/bdfdrivr.h
+++ b/src/bdf/bdfdrivr.h
@@ -39,8 +39,8 @@
 
   typedef struct  BDF_encoding_el_
   {
-    FT_ULong  enc;
-    FT_Short  glyph;
+    FT_ULong   enc;
+    FT_UShort  glyph;
 
   } BDF_encoding_el;
 
--- a/src/pcf/pcf.h
+++ b/src/pcf/pcf.h
@@ -124,10 +124,10 @@
   } 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;