From 53ca2fb678c5088193c97c5d5fb835ec88796a8d Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 23 Mar 2006 07:56:58 +0000 Subject: Bugzilla #39070: Removed illegal "/Type /Info" entry in the Info dictionary. Submitted by: John Yonosh 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/pdf/PDFInfo.java b/src/java/org/apache/fop/pdf/PDFInfo.java index 109d791bd..b12b27efd 100644 --- a/src/java/org/apache/fop/pdf/PDFInfo.java +++ b/src/java/org/apache/fop/pdf/PDFInfo.java @@ -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)); -- cgit v1.2.3