aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-03-23 07:56:58 +0000
committerJeremias Maerki <jeremias@apache.org>2006-03-23 07:56:58 +0000
commit53ca2fb678c5088193c97c5d5fb835ec88796a8d (patch)
tree36c91307de2702eab5d916d3300e877956d0e36c
parent9e8ad8d22f5aa0034c0b615d74bffcf57005a7a6 (diff)
downloadxmlgraphics-fop-53ca2fb678c5088193c97c5d5fb835ec88796a8d.tar.gz
xmlgraphics-fop-53ca2fb678c5088193c97c5d5fb835ec88796a8d.zip
Bugzilla #39070:
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
-rw-r--r--src/java/org/apache/fop/pdf/PDFInfo.java2
1 files changed, 1 insertions, 1 deletions
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));