pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1709883 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java
Date Wed, 21 Oct 2015 17:00:04 GMT
Author: tilman
Date: Wed Oct 21 17:00:03 2015
New Revision: 1709883

URL: http://svn.apache.org/viewvc?rev=1709883&view=rev
Log:
PDFBOX-3042: don't multiply with fontSize, 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=1709883&r1=1709882&r2=1709883&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 21 17:00:03 2015
@@ -202,7 +202,7 @@ class PDFTextStreamEngine extends PDFStr
         }
 
         // the space width has to be transformed into display units
-        float spaceWidthDisplay = spaceWidthText * fontSizeText * horizontalScalingText *
+        float spaceWidthDisplay = spaceWidthText * horizontalScalingText *
                 textRenderingMatrix.getScalingFactorX();
 
         // use our additional glyph list for Unicode mapping



Mime
View raw message