texlive[41713] Build/source/texk/web2c/pdftexdir:
commits+kakuto at tug.org
commits+kakuto at tug.org
Sat Jul 16 15:37:39 CEST 2016
Revision: 41713
http://tug.org/svn/texlive?view=revision&revision=41713
Author: kakuto
Date: 2016-07-16 15:37:38 +0200 (Sat, 16 Jul 2016)
Log Message:
-----------
pdftexdir/pdftoepdf.cc: Use zround(stemV->getNum()) instead of stemV->getInt() in epdf_create_fontdescriptor()
Modified Paths:
--------------
trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog 2016-07-16 01:16:54 UTC (rev 41712)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog 2016-07-16 13:37:38 UTC (rev 41713)
@@ -1,3 +1,9 @@
+2016-07-16 Akira Kakuto <kakuto at 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 at freefriends.org>
and Akira Kakuto <kakuto at fuk.kindai.ac.jp>
Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc 2016-07-16 01:16:54 UTC (rev 41712)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc 2016-07-16 13:37:38 UTC (rev 41713)
@@ -71,6 +71,7 @@
// 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 @@
&& (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());
More information about the tex-live-commits
mailing list