pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1716242 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStreamEngine.java
Date Tue, 24 Nov 2015 20:20:38 GMT
Author: tilman
Date: Tue Nov 24 20:20:38 2015
New Revision: 1716242

URL: http://svn.apache.org/viewvc?rev=1716242&view=rev
Log:
PDFBOX-2158, PDFBOX-3130: oops

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=1716242&r1=1716241&r2=1716242&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 Tue
Nov 24 20:20:38 2015
@@ -147,7 +147,7 @@ class PDFTextStreamEngine extends PDFStr
         Matrix textMatrix = getTextMatrix();
 
         BoundingBox bbox = font.getBoundingBox();
-        if (bbox.getLowerLeftY() <= Short.MAX_VALUE)
+        if (bbox.getLowerLeftY() < Short.MIN_VALUE)
         {
             // PDFBOX-2158 and PDFBOX-3130
             // files by Salmat eSolutions / ClibPDF Library



Mime
View raw message