pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1656894 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1FontEmbedder.java
Date Tue, 03 Feb 2015 19:20:01 GMT
Author: jahewson
Date: Tue Feb  3 19:20:00 2015
New Revision: 1656894

URL: http://svn.apache.org/r1656894
Log:
PDFBOX-1666: Set StemV when embedding AFM/PFB fonts

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1FontEmbedder.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1FontEmbedder.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1FontEmbedder.java?rev=1656894&r1=1656893&r2=1656894&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1FontEmbedder.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType1FontEmbedder.java
Tue Feb  3 19:20:00 2015
@@ -151,6 +151,7 @@ class PDType1FontEmbedder
         fd.setXHeight(metrics.getXHeight());
         fd.setAverageWidth(metrics.getAverageCharacterWidth());
         fd.setCharacterSet(metrics.getCharacterSet());
+        fd.setStemV(0); // for PDF/A
         return fd;
     }
 



Mime
View raw message