diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-05-10 00:51:17 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-05-10 00:51:17 +0000 |
commit | 78a0835f6769487f19d9e7cbe9873f23d349319a (patch) | |
tree | 215a40f7afa70f5ff86f1b9b874ee7ead1d7d0aa /Build/source | |
parent | d271db7489dd195b0ca0dbf4362a29b51468cbfa (diff) |
dvipdfm-x: reduce message by '-v' for fallback of VF
git-svn-id: svn://tug.org/texlive/trunk@55083 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/vf.c | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index fc99f041fad..dc46739d207 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,8 @@ +2020-05-10 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * vf.c: reduce message by '-v' less than by '-vv' for + fallback of virtual fonts. + 2020-05-03 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * dvipdfmx-upjf.test, Makefile.{am,in}, diff --git a/Build/source/texk/dvipdfm-x/vf.c b/Build/source/texk/dvipdfm-x/vf.c index 1495490ae34..43985842fc4 100644 --- a/Build/source/texk/dvipdfm-x/vf.c +++ b/Build/source/texk/dvipdfm-x/vf.c @@ -62,7 +62,7 @@ struct vf uint32_t design_size; /* A fixword-pts quantity */ int num_dev_fonts, max_dev_fonts; struct font_def *dev_fonts; - unsigned char **ch_pkt; + unsigned char **ch_pkt, message_flag; uint32_t *pkt_len; unsigned num_chars; }; @@ -100,6 +100,7 @@ static void resize_vf_fonts(int size) vf_fonts[i].num_dev_fonts = 0; vf_fonts[i].max_dev_fonts = 0; vf_fonts[i].dev_fonts = NULL; + vf_fonts[i].message_flag = 0; } max_vf_fonts = size; } @@ -416,7 +417,13 @@ void vf_set_char(int32_t ch, int vf_font) if (tfm_is_jfm(vf_fonts[vf_font].dev_fonts[0].tfm_id) && ch < 0x1000000 && dpx_conf.compat_mode != dpx_mode_xdv_mode) { /* fallback multibyte character for (u)pTeX */ - if (dpx_conf.verbose_level > 0) + if (dpx_conf.verbose_level == 1) + if (vf_fonts[vf_font].message_flag == 0) { + WARN ("Fallback multibyte character in virtual font: VF:%s to TFM:%s", + vf_fonts[vf_font].tex_name, vf_fonts[vf_font].dev_fonts[0].name); + vf_fonts[vf_font].message_flag = 1; + } + if (dpx_conf.verbose_level > 1) WARN ("Fallback multibyte character in virtual font: VF:%s char=0x%06x(%d) to TFM:%s", vf_fonts[vf_font].tex_name, ch, ch, vf_fonts[vf_font].dev_fonts[0].name); dvi_set (ch); |