From c78df1ef6ead341ee753f1d3239f71f101292cff Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 21 Apr 2004 07:36:38 +0000 Subject: [PATCH] * src/psaux/psobjs.c (T1Radix): Renamed to... (ps_radix): This. Update current cursor position. * docs/CHANGES: Updated. --- ChangeLog | 8 ++++++++ docs/CHANGES | 10 ++++++---- src/psaux/psobjs.c | 10 ++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 72f977b41..7e17d6519 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-04-20 Werner Lemberg + + * src/psaux/psobjs.c (T1Radix): Renamed to... + (ps_radix): This. + Update current cursor position. + + * docs/CHANGES: Updated. + 2004-04-18 Werner Lemberg * src/truetype/ttgload.c, src/truetype/ttgload.h (TT_Load_Glyph), diff --git a/docs/CHANGES b/docs/CHANGES index 6f787b01d..2bb57b559 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -16,13 +16,15 @@ LATEST CHANGES BETWEEN 2.1.8 and 2.1.7 correctly treated as a CID, similar to FreeType's CID driver module. Note that CID CMap support is still missing. - - The FT_FACE_FLAGS_GLYPH_NAMES is now set correctly for all font - formats. + - The FT_FACE_FLAGS_GLYPH_NAMES flag is now set correctly for all + font formats. - Some subsetted Type 1 fonts weren't parsed correctly. This bug has been introduced in 2.1.7. In summary, the Type 1 parser has become more robust. + - Non-decimal numbers weren't parsed correctly in PS fonts. + - The WinFNT driver now correctly reports FT_ENCODING_NONE for all but one encoding. Use the new FT_WinFNT_ID_XXX values together with FT_Get_WinFNT_Header() to get the WinFNT charset ID. @@ -30,9 +32,9 @@ LATEST CHANGES BETWEEN 2.1.8 and 2.1.7 - The descender metrics (face->size->metrics.descender) for WinFNT bitmap fonts had the wrong sign. - - The (emulated) seac support for CFF fonts was broken. + - The (emulated) `seac' support for CFF fonts was broken. - - The flex operator didn't work for CFF fonts. + - The `flex' operator didn't work for CFF fonts. - PS glyphs which use the `hintmask' operator haven't been rendered correctly in some cases. diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index a0c123087..accaf29ac 100644 --- a/src/psaux/psobjs.c +++ b/src/psaux/psobjs.c @@ -688,9 +688,9 @@ /* first character must be already part of the number */ static FT_Long - T1Radix( FT_Long radixBase, - FT_Byte* *acur, - FT_Byte* limit ) + ps_radix( FT_Long radixBase, + FT_Byte* *acur, + FT_Byte* limit ) { FT_Long result = 0; FT_Byte* cur = *acur; @@ -716,6 +716,8 @@ cur++; } + *acur = cur; + return result; } @@ -746,7 +748,7 @@ if ( *cur == '#' ) { cur++; - result = T1Radix( result, &cur, limit ); + result = ps_radix( result, &cur, limit ); break; }