summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-04 23:28:25 +0000
committerKarl Berry <karl@freefriends.org>2016-11-04 23:28:25 +0000
commitadeadc1124770628592c84c10b74d34fc46a722e (patch)
treea12e3e4fb834a480a70e1f8cb20943a32d82aac3 /Build/source/texk
parent6db3a47aa376ed7b30d75345531b0568e0032021 (diff)
doc fix
git-svn-id: svn://tug.org/texlive/trunk@42438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftoepdf.cc6
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index cfbee167d4a..1ecf35dc352 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-05 Karl Berry <karl@tug.org>
+
+ * pdftoepdf.cc: doc fix.
+
2016-07-16 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* pdftoepdf.cc: Use zround(stemV->getNum()) instead of stemV->getInt()
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
index 4ba15452cea..4db0c90a639 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
+++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
@@ -1,5 +1,5 @@
/*
-Copyright 1996-2014 Han The Thanh, <thanh@pdftex.org>
+Copyright 1996-2016 Han The Thanh, <thanh@pdftex.org>
This file is part of pdfTeX.
@@ -426,7 +426,9 @@ static void copyFont(char *tag, Object * fontRef)
&ffsubtype)->isName()
&& !strcmp(ffsubtype->getName(), "Type1C")))
&& (fontmap = lookup_fontmap(basefont->getName())) != NULL) {
- // copy the value of /StemV
+ // round /StemV value, since the PDF input is a float
+ // (see Font Descriptors in PDF reference), but we only store an
+ // integer, since we don't want to change the struct.
fontdesc->dictLookup("StemV", &stemV);
fd = epdf_create_fontdescriptor(fontmap, zround(stemV->getNum()));
if (fontdesc->dictLookup("CharSet", &charset) &&