Author: ssteiner
Date: Thu Sep  1 10:57:20 2022
New Revision: 1903808

URL: http://svn.apache.org/viewvc?rev=1903808&view=rev
Log:
revert tile length changes

Modified:
    
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/ImageContent.java
    
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/Tile.java

Modified: 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/ImageContent.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/ImageContent.java?rev=1903808&r1=1903807&r2=1903808&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/ImageContent.java
 (original)
+++ 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/ImageContent.java
 Thu Sep  1 10:57:20 2022
@@ -188,7 +188,7 @@ public class ImageContent extends Abstra
         }
     }
 
-    private static final int MAX_DATA_LEN = 8188;
+    private static final int MAX_DATA_LEN = 65535;
 
     /** {@inheritDoc} */
     @Override

Modified: 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/Tile.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/Tile.java?rev=1903808&r1=1903807&r2=1903808&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/Tile.java 
(original)
+++ 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/ioca/Tile.java 
Thu Sep  1 10:57:20 2022
@@ -141,7 +141,7 @@ public class Tile extends AbstractStruct
         int numFullChunks = dataLength / maxChunkLength;
         int lastChunkLength = dataLength % maxChunkLength;
 
-        byte[] len = BinaryUtils.convert(3 + maxChunkLength, 2);
+        byte[] len = {(byte) 0x1f, (byte) 0xff};
         int off = 0;
         if (numFullChunks > 0) {
             // write out full data chunks



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-h...@xmlgraphics.apache.org

Reply via email to