You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2003/11/19 00:04:46 UTC

DO NOT REPLY [Bug 24804] New: - SVG Text to PS Output generates incorrect outlines

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=24804>.
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=24804

SVG Text to PS Output generates incorrect outlines

           Summary: SVG Text to PS Output generates incorrect outlines
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: svg
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: bkoehn@nvisia.com


I have an FO document that includes an inline-foreign-object svg, which includes
some text to render (see attached fo). When run, the postscript (as rendered by
GhostScript and a PS Printer) is fouled. (see attached image)

It appears that the StrokingTextPainter is sending out strokes that the
PSRenderer cannot convert to PostScript correctly. 

Interestingly enough, this FOP/SVG renders perfectly when rendered to PDF,
whether using strokeSVGText==true or strokeSVGText==false. 

I'm using Sun's j2sdk1.4.2_02, and the Batik that came with FOP 0.20.5.