diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2016-05-18 18:35:33 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2016-05-20 09:20:21 +0100 |
commit | 7d3dc0cccbf7b1a1d0a273eb78287bf8bb659fb8 (patch) | |
tree | 47860e14d64f4bec7a46791a3f58da02f45ff763 /psi/zfont42.c | |
parent | b1b8ec293a199d58742c3ed45c47f249359e3392 (diff) | |
download | ghostpdl-7d3dc0cccbf7b1a1d0a273eb78287bf8bb659fb8.tar.gz |
Remove gs_no_glyph, gs_min_cid_glyph and gs_max_glyph
These were legacy remnants. Replace their remaining uses with the upper case,
non-deprecated equivalents.
Diffstat (limited to 'psi/zfont42.c')
-rw-r--r-- | psi/zfont42.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/psi/zfont42.c b/psi/zfont42.c index 21971a005..c5960a5f7 100644 --- a/psi/zfont42.c +++ b/psi/zfont42.c @@ -365,8 +365,8 @@ z42_gdir_enumerate_glyph(gs_font *font, int *pindex, pgdict = &pfont_data(font)->CharStrings; /* A trick : use zchar_enumerate_glyph to enumerate GIDs : */ code = zchar_enumerate_glyph(font->memory, pgdict, pindex, pglyph); - if (*pindex != 0 && *pglyph >= gs_min_cid_glyph) - *pglyph = *pglyph - gs_min_cid_glyph + GS_MIN_GLYPH_INDEX; + if (*pindex != 0 && *pglyph >= GS_MIN_CID_GLYPH) + *pglyph = *pglyph - GS_MIN_CID_GLYPH + GS_MIN_GLYPH_INDEX; return code; } @@ -379,7 +379,7 @@ z42_encode_char(gs_font *font, gs_char chr, gs_glyph_space_t glyph_space) { gs_glyph glyph = zfont_encode_char(font, chr, glyph_space); - return (glyph_space == GLYPH_SPACE_INDEX && glyph != gs_no_glyph ? + return (glyph_space == GLYPH_SPACE_INDEX && glyph != GS_NO_GLYPH ? glyph_to_index(font, glyph) : glyph); } static int |