1.9 SVG output compatability

A discussion forum for JFreeSVG (a fast, lightweight, SVG generator for the Java platform).

1.9 SVG output compatability

Postby nanobaud » Wed Jun 11, 2014 11:54 pm


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

Posts: 1
Joined: Wed Jun 11, 2014 11:29 pm

Re: 1.9 SVG output compatability

Postby 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: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
JFreeChart Project Leader
Posts: 11664
Joined: Fri Mar 14, 2003 10:29 am

Return to JFreeSVG

Who is online

Users browsing this forum: No registered users and 1 guest