pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1708690 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java
Date Wed, 14 Oct 2015 20:45:03 GMT
Author: tilman
Date: Wed Oct 14 20:45:03 2015
New Revision: 1708690

URL: http://svn.apache.org/viewvc?rev=1708690&view=rev
Log:
PDFBOX-3019: don't multiply textRenderingMatrix X scaling factor with CTM X scaling factor,
as this has already been done before

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java?rev=1708690&r1=1708689&r2=1708690&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java Wed
Oct 14 20:45:03 2015
@@ -203,7 +203,7 @@ class PDFTextStreamEngine extends PDFStr
 
         // the space width has to be transformed into display units
         float spaceWidthDisplay = spaceWidthText * fontSizeText * horizontalScalingText *
-                textRenderingMatrix.getScalingFactorX()  * ctm.getScalingFactorX();
+                textRenderingMatrix.getScalingFactorX();
 
         // use our additional glyph list for Unicode mapping
         unicode = font.toUnicode(code, glyphList);



Mime
View raw message