Browse Source

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
tags/fop-0_92-beta
Jeremias Maerki 18 years ago
parent
commit
53ca2fb678
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/java/org/apache/fop/pdf/PDFInfo.java

+ 1
- 1
src/java/org/apache/fop/pdf/PDFInfo.java View 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));

Loading…
Cancel
Save