pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1772090 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java
Date Wed, 30 Nov 2016 17:23:59 GMT
Author: tilman
Date: Wed Nov 30 17:23:59 2016
New Revision: 1772090

URL: http://svn.apache.org/viewvc?rev=1772090&view=rev
Log:
PDFBOX-3609: allow object reference

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java?rev=1772090&r1=1772089&r2=1772090&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java
Wed Nov 30 17:23:59 2016
@@ -85,7 +85,7 @@ public abstract class PDCIDFont implemen
                     int arraySize = array.size();
                     for (int i = 0; i < arraySize; i++)
                     {
-                        COSNumber width = (COSNumber) array.get(i);
+                        COSNumber width = (COSNumber) array.getObject(i);
                         this.widths.put(startRange + i, width.floatValue());
                     }
                 }



Mime
View raw message