diff options
Diffstat (limited to 'Build')
-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) { |