[
https://issues.apache.org/jira/browse/FOP-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17995804#comment-17995804
]
Michael Tsurikov commented on FOP-3260:
---------------------------------------
Hi again [~jgoncalves] : I think I've found the source of my latest problem.
It's in the command line. I thought that it was sufficient to execute
fop topic.fo ThePDF.pdf
because it produced a PDF. But that is insufficient. Apparently that command
ignores the fop.xconf configuration file. I did not know this. I had to specify
the configuration file manually:
fop -c C:\fop-2.11\fop\conf\fop.xconf topic.fo The PDF.pdf
and that actually processed the configuration file, giving the desired results.
> SVG rendering problem - drawing elements move
> ---------------------------------------------
>
> Key: FOP-3260
> URL: https://issues.apache.org/jira/browse/FOP-3260
> Project: FOP
> Issue Type: Bug
> Components: renderer/svg
> Affects Versions: 2.11
> Reporter: Michael Tsurikov
> Priority: Major
> Attachments: ForTesting.zip, image-2025-06-20-13-19-19-228.png,
> image-2025-06-20-13-20-37-653.png, simplePageFull.pdf
>
>
> Consider the file \ForTesting\Pinout SVG FOP problem\tempbuild\topic.fo in
> the attachment. Notice that it calls an SVG file, \ForTesting\Pinout SVG FOP
> problem\images\pinout.svg.
> When I open pinout.svg in any SVG-aware app (examples: Inkscape, Chrome,
> Edge, PowerPoint, Visio), all drawing elements appear correctly. Of relevance
> to this bug report, notice this correct element appearance:
> !image-2025-06-20-13-19-19-228.png!
> When I use Apache FOP 2.11, with default settings, to publish topic.fo to a
> PDF, some drawing elements in the PDF have moved. Notice where the three X
> marks have moved:
> !image-2025-06-20-13-20-37-653.png|width=485,height=198!
> Because the SVG appears properly in all SVG-aware apps I've tried, I believe
> this is a bug in Apache FOP. I humbly request you to fix this bug. Thank you
> in advance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)