From adeadc1124770628592c84c10b74d34fc46a722e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 Nov 2016 23:28:25 +0000 Subject: doc fix git-svn-id: svn://tug.org/texlive/trunk@42438 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/web2c/pdftexdir/pdftoepdf.cc') 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, +Copyright 1996-2016 Han The Thanh, 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) && -- cgit v1.2.3