* src/psaux/psobjs.c (T1Radix): Renamed to... (ps_radix): This. Update current cursor position. * docs/CHANGES: Updated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
diff --git a/ChangeLog b/ChangeLog
index 72f977b..7e17d65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-04-20 Werner Lemberg <wl@gnu.org>
+
+ * src/psaux/psobjs.c (T1Radix): Renamed to...
+ (ps_radix): This.
+ Update current cursor position.
+
+ * docs/CHANGES: Updated.
+
2004-04-18 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgload.c, src/truetype/ttgload.h (TT_Load_Glyph),
diff --git a/docs/CHANGES b/docs/CHANGES
index 6f787b0..2bb57b5 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 a0c1230..accaf29 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;
}