diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-09 08:12:36 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-09 08:12:36 +0000 |
commit | bff20bd2650b3a5549a64b32ccd485db467a325e (patch) | |
tree | ae2ed836fa83a58ea24ef182536afa7de0c909cc /Build/source/texk/dvipdfm-x | |
parent | f9cb9f8a06535f59ecf228176ac00d5d5b0f86f1 (diff) |
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
Diffstat (limited to 'Build/source/texk/dvipdfm-x')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvi.c | 18 |
2 files changed, 23 insertions, 0 deletions
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 <kakuto@fuk.kindai.ac.jp> + + * 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 <kakuto@fuk.kindai.ac.jp> * 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) { |