xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51270] New: [PATCH] PDFOutline: 'endobj' should be preceded by an EOL
Date Thu, 26 May 2011 13:09:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51270

             Bug #: 51270
           Summary: [PATCH] PDFOutline: 'endobj' should be preceded by an
                    EOL
           Product: Fop
           Version: all
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: matthias.bauer.drs@infineon.com
    Classification: Unclassified


Created attachment 27071
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27071
patch

org.apache.fop.pdf.PDFOutline.toPDF() outputs ">> endobj\n". 

According to PDF/A spec (or at least according to the validators I've used)
there has to be a "\n" in front of the endobj tag. (And at every other position
in the code we're already outputting a "\n".)

The patch changes the output to ">>\nendobj\n".

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message