From b6b63375390996caa1d5aac73d68f61cd98e69aa Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 9 Apr 2003 06:55:57 +0000 Subject: [PATCH] * 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 --- ChangeLog | 12 +++++++++++- docs/CHANGES | 3 +++ src/bdf/bdfdrivr.h | 4 ++-- src/pcf/pcf.h | 6 +++--- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f405e7dd..74b7b1eaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-04-09 Mike Fabian + + * 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 + + FreeType 2.1.4 Released + ======================= + 2003-04-03 Martin Muskens * src/type1/t1load.c (T1_Open_Face): fixed the code to make it handle @@ -47,7 +57,7 @@ 2003-03-15 David Turner - * 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 0a8e3f8c0..2169976fc 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 5c5896459..1e0224c33 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 1b7b585ef..522356464 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;