Skip to content

Commit

Permalink
dvipdfm-x/cidtype2.c: glyph replacement (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Feb 2, 2024
1 parent 3bf1616 commit 698cb02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/texk/dvipdfm-x/cidtype2.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ CIDFont_type2_dofont (pdf_font *font)
} else {
gid = tt_cmap_lookup(ttcmap, code);
#ifdef FIX_CJK_UNIOCDE_SYMBOLS
if (gid == 0 && unicode_cmap) {
if (gid == 0 && unicode_cmap && code <= 0xFFFF) {
int alt_code;

alt_code = fix_CJK_symbols((unsigned short)code);
Expand Down

0 comments on commit 698cb02

Please sign in to comment.