Hi Helder, Thank for your reply. A sample of what I´m trying to do: http://pastebin.com/GVyEpkmq I removed the gradient of the chart using the StandardBarPainter (JFreeChart), because gradients aren't allowed in Tiny specs.
How can I explicitly set that I want a SVG Tiny graph? best regards, -- Gustavo Ramos 2010/2/24 Helder Magalhães <[email protected]> > Hi Gustavo, > > > > I would like to generate SVG in the Tiny format > > (http://www.w3.org/TR/SVGMobile/). There are plans to implement this > > functionality? > > AFAIK, this is already (mostly, at least) implemented into the > framework. You may be interested in taking a look at the most recent > specification, which is SVG Tiny 1.2 [1]. ;-) > > > > I generate a chart (using JFreeChart library) and convert it to SVG, > using > > Batik. If I remove some tags like "stroke-opacity" and > ""text-rendering", I > > can transform it in a valid SVG Tiny (http://validator.w3.org/check), > but I > > would like to do this automatically. > > Maybe you are not using the proper API to set the document type and/or > properties which trigger the intended behavior. Note that I haven't > tried to recreate the situation, given the somehow lack of information > (test environment, more clear goal, etc. [2]). Can you share a > simple/reduced test case which produces the unexpected attributes? You > may have stumbled across a bug, which is always interesting/important > to track down... :-) > > > > regards, > > Gustavo Ramos > > Cheers, > Helder > > > [1] http://www.w3.org/TR/SVGTiny12/ > [2] > http://catb.org/~esr/faqs/smart-questions.html<http://catb.org/%7Eesr/faqs/smart-questions.html> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
