DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11926>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11926

Text in SVG produces a corrupt PDF

           Summary: Text in SVG produces a corrupt PDF
           Product: Fop
           Version: 0.20.4
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: svg
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If an SVG image embedded in or referenced by an fo document contains text, and
FOP is used in the strokeSVGText=false mode to use PDF text commands for the
output of the text, the PDF created will be corrupt. While Acrobat Reader and
Xpdf display the PDF correctly, GhostView does not, and printing the document to
a PostScript printer fails from all programs. Acrobat/Distiller can sometimes
repair the document if some other part of the PDF is changed and the document
resaved.

Depending on the font used (Type1 or TrueType), the document either does not
print at all (or can not be viewed in GhostView), or the text inside the SVG
image is missing (more accurately, will be rendered with point size 0 somewhere
in the document).

In addition, GhostView outputs an error:

   **** This file has a corrupted %%EOF marker, or garbage after the %%EOF.
   **** The file was produced by FOP 0.20.4:
   **** please notify the author of this software
   **** that the file does not conform to Adobe's published PDF
   **** specification.  Processing of the file will continue normally.

Rendering the text as shapes produces a correct PDF, but it is larger and will
not produce a clean screen representation in Acrobat Reader.

I'm attaching three files demonstrating the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to