]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #39070:
authorJeremias Maerki <jeremias@apache.org>
Thu, 23 Mar 2006 07:56:58 +0000 (07:56 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 23 Mar 2006 07:56:58 +0000 (07:56 +0000)
Removed illegal "/Type /Info" entry in the Info dictionary.
Submitted by: John Yonosh <jyonosh.at.fcg.com>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388092 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/PDFInfo.java

index 109d791bd425d4f6473f807131554f5ccec2d76f..b12b27efdc1bab6cc834c7f494dce3fbdfc7002f 100644 (file)
@@ -149,7 +149,7 @@ public class PDFInfo extends PDFObject {
         ByteArrayOutputStream bout = new ByteArrayOutputStream(128);
         try {
             bout.write(encode(getObjectID()));
-            bout.write(encode("<< /Type /Info\n"));
+            bout.write(encode("<<\n"));
             if (title != null) {
                 bout.write(encode("/Title "));
                 bout.write(encodeText(this.title));