Summary: | [PATCH] Shapes are slightly shifted with respect to lines on larger graphics | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Martin Weindel <martinweindel2004> |
Component: | Assignee: | fop-dev | |
Status: | CLOSED FIXED | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: |
patch to write transformation matrix with higher precision
sample FO, SVG and resulting PDF |
Description
Martin Weindel
2005-07-28 17:48:08 UTC
Created attachment 15816 [details]
patch to write transformation matrix with higher precision
Thanks for the patch. Do you have an example that shows the effect of your change that you could attach to this issue? Created attachment 15829 [details] sample FO, SVG and resulting PDF This bug is more complex than I have thought firstly. My patch helps only when using the Batik rasterizer (Batik 1.6 with patched pdf-transcoder.jar (alias fop-transcoder-allinone.jar in fop trunk)). commandline: java -jar batik-rasterizer.jar -m application/pdf bug35918.svg But if you use the FOP directly, the bug still exists. commandline: fop bug35918.fo bug35918.pdf I did a few things on PDFGraphics2D to improve the situation: http://svn.apache.org/viewcvs?rev=240344&view=rev I didn't actually apply your patch but followed your example while refactoring the code. Thanks all the same! Your test case looks good to me now. batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed |