texlive[42438] Build/source/texk/web2c/pdftexdir: doc fix

commits+karl at tug.org commits+karl at tug.org
Sat Nov 5 00:28:26 CET 2016


Revision: 42438
          http://tug.org/svn/texlive?view=revision&revision=42438
Author:   karl
Date:     2016-11-05 00:28:25 +0100 (Sat, 05 Nov 2016)
Log Message:
-----------
doc fix

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-11-04 23:23:46 UTC (rev 42437)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2016-11-04 23:28:25 UTC (rev 42438)
@@ -1,3 +1,7 @@
+2016-11-05  Karl Berry  <karl at tug.org>
+
+	* pdftoepdf.cc: doc fix.
+
 2016-07-16  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* pdftoepdf.cc: Use zround(stemV->getNum()) instead of stemV->getInt()

Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc	2016-11-04 23:23:46 UTC (rev 42437)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc	2016-11-04 23:28:25 UTC (rev 42438)
@@ -1,5 +1,5 @@
 /*
-Copyright 1996-2014 Han The Thanh, <thanh at pdftex.org>
+Copyright 1996-2016 Han The Thanh, <thanh at pdftex.org>
 
 This file is part of pdfTeX.
 
@@ -426,7 +426,9 @@
                                                      &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) &&



More information about the tex-live-commits mailing list