1.9 SVG output compatability

A discussion forum for JFreeSVG (a fast, lightweight, SVG generator for the Java platform).
Locked
nanobaud
Posts: 1
Joined: Wed Jun 11, 2014 11:29 pm
antibot: No, of course not.

1.9 SVG output compatability

Post by nanobaud » Wed Jun 11, 2014 11:54 pm

Hello

I have recently tried your software version 1.9. This is quite nice and thank you for providing it.

I am just trying to create some simple, mathematically defined line drawings using the SVGGraphics2D class that will be viewed in a few different contexts. I notice that the SVG output for this class uses 'rgba(r,g,b,a)' for defining color in styles. This seems to work fine in up-to-date web browsers, but some other applications (e.g. Inkscape 0.48, Gimp 2.8) do not seem to interpret this properly or at all. For my limited purposes, I can just use the source code and change the call in svgColorStr() from rgbaColorStr() to rgbColorStr() (since opacity is being specified separately anyway), so I do not need to request a 'fix'. But if you are interested in this feedback, here it is.

Thank you again

nanobaud

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: 1.9 SVG output compatability

Post by david.gilbert » Mon Jun 23, 2014 1:06 pm

Thanks for the feedback. Definitely I would like to fix this for the next release.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked