Felix Natter created BATIK-1205:
-----------------------------------

             Summary: Please handle java.awt.LinearGradientPaint and 
java.awt.RadialGradientPaint
                 Key: BATIK-1205
                 URL: https://issues.apache.org/jira/browse/BATIK-1205
             Project: Batik
          Issue Type: Improvement
          Components: SVGGraphics2D
    Affects Versions: 1.9
            Reporter: Felix Natter


Dear batik developers,

we are (the Freeplane project) are using svgSalamander to render SVG icons,
and batik/fop to export SVG/PDF. There is a problem if svgSalamander
generates "Multiple" gradients (java.awt.Linear/RadialGradientPaint) which
results in wrong color rendering in the PDF.

The problem is that these "paints" are not handled in
org.apache.batik.svggen.SVGPaint.toSVG(Paint).

Here is a sample project which renders three sample SVGs using svgSalamander,
and exports to PDF using batik+fop:
  https://github.com/fnatter/svgtest

In order to test this, please do:
- clone
- gradle build cleanEclipse eclipse
- import project into eclipse
- Start org.freeplane.svgtest.TestBatik
- choose a file to save the PDF to
- notice that color rendering is broken

I think this can be solved by BATIK-1032?
Could you consider applying that?

Please tell me if I can do anything to help fix this.

Many Thanks for the very useful software :-)

Best Regards,
Felix




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org

Reply via email to