From bff20bd2650b3a5549a64b32ccd485db467a325e Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Tue, 9 Feb 2016 08:12:36 +0000 Subject: texk/dvipdfm-x/dvi.c: disable check_postamble() introduced by Peter because features embolden != 0 etc. do not work if enabled. git-svn-id: svn://tug.org/texlive/trunk@39636 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfm-x/ChangeLog | 5 +++++ Build/source/texk/dvipdfm-x/dvi.c | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) (limited to 'Build') diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 86189cbc642..5dc2f56d64e 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,8 @@ +2016-02-09 Akira Kakuto + + * dvi.c: disable check_postamble() introduced by Peter, because + features embolden != 0, slant != 0, and extend != 1 do not work. + 2016-01-30 Akira Kakuto * tt_post.c: Check post->glyphNamePtr[gid] before an access diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c index caabf32c0c6..3aa4f31b0b8 100644 --- a/Build/source/texk/dvipdfm-x/dvi.c +++ b/Build/source/texk/dvipdfm-x/dvi.c @@ -1735,6 +1735,11 @@ do_glyphs (void) return; } +/* + * We recover the code in the TeX Live 2015 here, + * because embolden !=0 etc. work if we do so. + */ +#if 0 static void check_postamble (void) { @@ -1767,6 +1772,7 @@ check_postamble (void) num_pages = 0; /* force loop to terminate */ } +#endif /* 0 */ /* Most of the work of actually interpreting * the dvi file is here. @@ -1830,12 +1836,18 @@ dvi_do_page (double page_paper_height, double hmargin, double vmargin) break; case EOP: do_eop(); +/* + * We recover the code in the TeX Live 2015 here, + * because embolden !=0 etc. work if we do so. + */ +#if 0 if (linear) { if ((opcode = get_unsigned_byte(dvi_file)) == POST) check_postamble(); else ungetc(opcode, dvi_file); } +#endif /* 0 */ return; case PUSH: @@ -1955,10 +1967,16 @@ dvi_init (char *dvi_filename, double mag) get_preamble_dvi_info(); do_scales(mag); +/* + * We recover the code in the TeX Live 2015 here, + * because embolden !=0 etc. work if we do so. + */ +#if 0 if ((ch = get_unsigned_byte(dvi_file)) == POST) check_postamble(); else ungetc(ch, dvi_file); +#endif /* 0 */ } else { dvi_file = MFOPEN(dvi_filename, FOPEN_RBIN_MODE); if (!dvi_file) { -- cgit v1.2.3