Bug 24804 - SVG Text to PS Output generates incorrect outlines
Summary: SVG Text to PS Output generates incorrect outlines
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: svg (show other bugs)
Version: 0.20.5
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 23:04 UTC by Brad Koehn
Modified: 2012-04-01 06:59 UTC (History)
0 users



Attachments
Sample FO with SVG text that doesn't render correctly (49.25 KB, text/xml)
2003-11-18 23:05 UTC, Brad Koehn
Details
picture of the rendered postscript (ignore messed-up svg y-position, my bad) (278.12 KB, image/bmp)
2003-11-18 23:16 UTC, Brad Koehn
Details
okay, this is the right fo file. ignore/remove other one. (74.74 KB, text/xml)
2003-11-18 23:20 UTC, Brad Koehn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Koehn 2003-11-18 23:04:45 UTC
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.
Comment 1 Brad Koehn 2003-11-18 23:05:59 UTC
Created attachment 9186 [details]
Sample FO with SVG text that doesn't render correctly
Comment 2 Brad Koehn 2003-11-18 23:16:22 UTC
Created attachment 9187 [details]
picture of the rendered postscript (ignore messed-up svg y-position, my bad)
Comment 3 Brad Koehn 2003-11-18 23:20:07 UTC
Created attachment 9188 [details]
okay, this is the right fo file. ignore/remove other one.
Comment 4 Jeremias Maerki 2009-04-08 12:23:36 UTC
This has been fixed long ago.
Comment 5 Glenn Adams 2012-04-01 06:59:34 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed