[ https://issues.apache.org/jira/browse/FOP-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17995803#comment-17995803 ]
Michael Tsurikov commented on FOP-3260: --------------------------------------- Hi [~jgoncalves] : Thank you for your fast response! I tried your suggestion, and unfortunately it didn't work. I assume that by "fop config" you mean \fop-2.11\fop\conf\fop.xconf; I know of no other FOP configuration file. My original fop.xconf had <source-resolution>72</source-resolution> and immediately below <target-resolution>72</target-resolution>. I changed source-resolution to 96. It didn't change the output. The X marks were still in the wrong place. As an experiment, I changed both source-resolution and target-resolution to 96. It also didn't change the output. What's also puzzling to me is that only those X marks are in the wrong place. The SVG has many other elements, all of which are properly aligned. It's hard for me to imagine that a wrong pixels-per-inch setting would selectively affect only some elements and not everything. If you can help me further, I would really appreciate it. Thank you! > 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)