pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1648513 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalRGB.java
Date Tue, 30 Dec 2014 11:58:55 GMT
Author: tilman
Date: Tue Dec 30 11:58:54 2014
New Revision: 1648513

URL: http://svn.apache.org/r1648513
Log:
PDFBOX-1094: add missing element in identity matrix

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalRGB.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalRGB.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalRGB.java?rev=1648513&r1=1648512&r2=1648513&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalRGB.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalRGB.java
Tue Dec 30 11:58:54 2014
@@ -142,7 +142,7 @@ public class PDCalRGB extends PDCIEDicti
         COSArray matrix = (COSArray)dictionary.getDictionaryObject(COSName.MATRIX);
         if (matrix == null)
         {
-            return new float[] {  0, 0, 0, 1, 0, 0, 0, 1 };
+            return new float[] {  1, 0, 0, 0, 1, 0, 0, 0, 1 };
         }
         else
         {



Mime
View raw message