[
https://issues.apache.org/jira/browse/FOP-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928890#comment-17928890
]
Joao Goncalves edited comment on FOP-2900 at 2/20/25 6:59 PM:
--------------------------------------------------------------
[~mschwarz]
I was not able to see the svg on my browser. Looks like the negative Y
coordinates were causing the issue. I added 36 to all of the y coordinates and
I was able to see the svg in the browser and in the pdf. I would suggest you do
that and then translate the svg.
was (Author: JIRAUSER302961):
I was not able to see the svg on my browser. Looks like the negative Y
coordinates were causing the issue. I added 36 to all of the y coordinates and
I was able to see the svg in the browser and in the pdf. I would suggest you do
that and then translate the svg.
> SVG image not correctly rendered any more
> -----------------------------------------
>
> Key: FOP-2900
> URL: https://issues.apache.org/jira/browse/FOP-2900
> Project: FOP
> Issue Type: Bug
> Components: foreign/svg
> Affects Versions: 2.3, 2.4
> Reporter: Matthias Schwarz
> Priority: Major
> Attachments: embeddedSvg.fo, fonts.fo, fop-2.4.pdf, fop_2.1.pdf
>
>
> The attached FO file embeddedSvg.fo rendered with FOP 2.1 created a small
> chart image in the PDF output. At least since FOP 2.3 (I didn't test with
> 2.2), when the same FO document is rendered, the PDF just contains lines
> where the recatangles should be. It seems like the heights of the rectangles
> are not processed as before in this case.
>
> I have also attached the PDFs created with 2.1 and 2.4 (2.3 looks the same as
> 2.4):
> - fop_2.1.pdf
> - fop-2.4.pdf
--
This message was sent by Atlassian Jira
(v8.20.10#820010)