From 9cefdb945736b7d7e90b3abbd1194aee7f480cde Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Fri, 5 Jun 2015 12:57:45 +0000 Subject: FOP-2482: Read out loud not working with 256 bit encryption and accessibility git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1683746 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/pdf/AbstractPDFStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/java/org/apache/fop/pdf/AbstractPDFStream.java b/src/java/org/apache/fop/pdf/AbstractPDFStream.java index e550f7e24..67cb7b097 100644 --- a/src/java/org/apache/fop/pdf/AbstractPDFStream.java +++ b/src/java/org/apache/fop/pdf/AbstractPDFStream.java @@ -231,7 +231,7 @@ public abstract class AbstractPDFStream extends PDFObject { lengthEntry = refLength; } else { encodedStream = encodeStream(); - lengthEntry = Integer.valueOf(encodedStream.getSize() + 1); + lengthEntry = encodedStream.getSize(); } populateStreamDict(lengthEntry); -- cgit v1.2.3