diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-25 13:56:57 +0000 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-25 13:56:57 +0000 |
commit | 3e7999b6d3fcfc1b849dfa02123e1aa723df4090 (patch) | |
tree | 39ce23fabd95e183c7a2533a24a52651db2df7ab /Build/source/texk/dvipdfm-x/vf.c | |
parent | 5996be7fd5d287305823d364d49b8a2bb4a5c7c8 (diff) |
Remove unnecessary is_xetex checks
git-svn-id: svn://tug.org/texlive/trunk@34722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/vf.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/vf.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/Build/source/texk/dvipdfm-x/vf.c b/Build/source/texk/dvipdfm-x/vf.c index 4787777c782..6b16e98b816 100644 --- a/Build/source/texk/dvipdfm-x/vf.c +++ b/Build/source/texk/dvipdfm-x/vf.c @@ -236,12 +236,11 @@ static void process_vf_file (FILE *vf_file, int thisfont) ch = get_unsigned_quad (vf_file); /* Skip over TFM width since we already know it */ get_unsigned_quad (vf_file); - if (ch < (is_xetex ? 0x10000UL : 0x1000000UL)) + if (ch < 0x1000000UL) read_a_char_def (vf_file, thisfont, pkt_len, ch); else { fprintf (stderr, "char=%ld\n", ch); - ERROR ("Long character (>%s bits) in VF file.\nI can't handle long characters!\n", - is_xetex ? "16" : "24"); + ERROR ("Long character (>24 bits) in VF file.\nI can't handle long characters!\n"); } break; } @@ -858,13 +857,10 @@ void vf_set_char(SIGNED_QUAD ch, int vf_font) vf_set2(&start, end); break; case SET3: - if (!is_xetex) { - vf_set3(&start, end); - break; - } + vf_set3(&start, end); + break; case SET4: - ERROR ("Multibyte (>%s bits) character in VF packet.\nI can't handle this!", - is_xetex ? "16" : "24"); + ERROR ("Multibyte (>24 bits) character in VF packet.\nI can't handle this!"); break; case SET_RULE: vf_setrule(&start, end, ptsize); @@ -876,13 +872,10 @@ void vf_set_char(SIGNED_QUAD ch, int vf_font) vf_put2(&start, end); break; case PUT3: - if (!is_xetex) { - vf_put3(&start, end); - break; - } + vf_put3(&start, end); + break; case PUT4: - ERROR ("Multibyte (>%s bits) character in VF packet.\nI can't handle this!", - is_xetex ? "16" : "24"); + ERROR ("Multibyte (>24 bits) character in VF packet.\nI can't handle this!"); break; case PUT_RULE: vf_putrule(&start, end, ptsize); |