pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1711758 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java
Date Sun, 01 Nov 2015 13:25:52 GMT
Author: tilman
Date: Sun Nov  1 13:25:52 2015
New Revision: 1711758

URL: http://svn.apache.org/viewvc?rev=1711758&view=rev
Log:
PDFBOX-2508: fix bug in construction of font BoundingBox from PDRectangle

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java?rev=1711758&r1=1711757&r2=1711758&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDType3Font.java Sun
Nov  1 13:25:52 2015
@@ -261,7 +261,7 @@ public class PDType3Font extends PDSimpl
     {
         PDRectangle rect = getFontBBox();
         return new BoundingBox(rect.getLowerLeftX(), rect.getLowerLeftY(),
-                               rect.getWidth(), rect.getHeight());
+                               rect.getUpperRightX(), rect.getUpperRightY());
     }
     
     /**



Mime
View raw message