diff options
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 05f7aa7ede1..cfbee167d4a 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,9 @@ +2016-07-16 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * pdftoepdf.cc: Use zround(stemV->getNum()) instead of stemV->getInt() + in epdf_create_fontdescriptor(), since the value of stemV may be real + in general. + 2016-06-12 Karl Berry <karl@freefriends.org> and Akira Kakuto <kakuto@fuk.kindai.ac.jp> diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc index 253024fe8f1..4ba15452cea 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc @@ -71,6 +71,7 @@ extern "C" { // does not allow it. extern int getpdfsuppresswarningpagegroup(void); extern integer getpdfsuppressptexinfo(void); +extern integer zround(double); } // The prefix "PTEX" for the PDF keys is special to pdfTeX; @@ -427,7 +428,7 @@ static void copyFont(char *tag, Object * fontRef) && (fontmap = lookup_fontmap(basefont->getName())) != NULL) { // copy the value of /StemV fontdesc->dictLookup("StemV", &stemV); - fd = epdf_create_fontdescriptor(fontmap, stemV->getInt()); + fd = epdf_create_fontdescriptor(fontmap, zround(stemV->getNum())); if (fontdesc->dictLookup("CharSet", &charset) && charset->isString() && is_subsetable(fontmap)) epdf_mark_glyphs(fd, charset->getString()->getCString()); |