Skip to content

Commit

Permalink
dvipdfm-x/cidtype2.c: glyph replacement, vertical writing (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Feb 3, 2024
1 parent f5e7f92 commit 21b812e
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 @@ -918,7 +918,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 21b812e

Please sign in to comment.