[
https://issues.apache.org/jira/browse/FOP-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875253#comment-17875253
]
Simon Steiner commented on FOP-3201:
------------------------------------
what about trying in the fop.xconf:
<renderer mime="application/pdf">
<form-xobject>true</form-xobject>
</renderer>
> FOP PDF Images - Colors wrong when displaying area chart exported from Excel
> ----------------------------------------------------------------------------
>
> Key: FOP-3201
> URL: https://issues.apache.org/jira/browse/FOP-3201
> Project: FOP
> Issue Type: Bug
> Reporter: Mark Gibson
> Priority: Major
> Attachments: area-chart-image.pdf, area-chart.fo, out.pdf
>
>
> Hi.
> When exporting an Area chart from excel as a PDF - where there are two
> different colors depending upon whether the line is under or over the x-axis
> - the image when displayed in the final rendered PDF has incorrect color
> placement/change boundary.
> Attached three files:
> *area-chart.fo* - simple test FO file using external-graphic to import the
> image
> *area-chart-image.pdf* - the pdf image of the area chart
> *out.pdf* - Example rendered PDF using FOP 2.9
>
> Command used to test
> {{ fop area-chart.fo -pdf out.pdf}}
> Tested against both FOP 2.8 and 2.9. Both are broken, but the image in the
> rendered PDF can be different between 2.8 and 2.9.
>
> _Please note, when opening the PDFs by clicking the attachment links, they
> show large gradients that are not displayed when opening the same files on
> Windows in either Chrome or Acrobat Pro DC_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)