]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix length entry in for embedded Type1 font (leads to errors in PDF viewers other...
authorJeremias Maerki <jeremias@apache.org>
Fri, 20 Jun 2003 12:26:40 +0000 (12:26 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 20 Jun 2003 12:26:40 +0000 (12:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@196515 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
src/org/apache/fop/pdf/PDFT1Stream.java

diff --git a/CHANGES b/CHANGES
index 00d8354117238b042c8cd6a8d6e3cf6b518349ae..49b0586a0fcd357d224d2e5ec0d3b9012d589878 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
 ==============================================================================
 Done since 0.20.4 release
+- Fix for bug: Wrong length value for embedded Type1 font stream (JM)
 - Fix for bug #20506 (grayscale images in PS renderer) (JM)
   Submitted by: Zhong(George) Yi <yidaomao@yahoo.com>
 - Fix for bad font encodings in the PS renderer (Fonts get reencoded as
index 11fe4af6e129fe7ede004f43b19a269d3c0d2f6b..946f569ef77c8260454887ad5297adf30d9fab40 100644 (file)
@@ -73,7 +73,7 @@ public class PDFT1Stream extends PDFStream {
         int length = 0;
         String filterEntry = applyFilters();
         String preData = this.number + " " + this.generation
-                + " obj\n<< /Length " + pfb.getLength() + " " 
+                + " obj\n<< /Length " + getDataLength() + " " 
                 + filterEntry  
                 + " /Length1 " + pfb.getLength1()
                 + " /Length2 " + pfb.getLength2()