pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1737263 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcitt.java
Date Thu, 31 Mar 2016 17:19:44 GMT
Author: tilman
Date: Thu Mar 31 17:19:44 2016
New Revision: 1737263

URL: http://svn.apache.org/viewvc?rev=1737263&view=rev
Log:
PDFBOX-3299: TIFF-files with FillOrder=2 can't be converted to PDF

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcitt.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcitt.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcitt.java?rev=1737263&r1=1737262&r2=1737263&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcitt.java
(original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcitt.java
Thu Mar 31 17:19:44 2016
@@ -387,6 +387,14 @@ public class PDCcitt extends PDXObjectIm
                     }
                     break;
                 }
+                case 266:
+                {
+                    if (val != 1)
+                    {
+                        throw new IOException("FillOrder " + val + " is not supported");
+                    }
+                    break;
+                }
                 case 273:
                 {
                     if (count == 1)



Mime
View raw message