I tried in another way:http://pastebin.com/C6wVuhLm
This is the generated SVG: http://pastebin.com/5cid8icZ Why the DOCTYPE have been changed? -- Gustavo Ramos 2010/2/24 Gustavo Ramos <gustavoramo...@gmail.com> > 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 <helder.magalh...@gmail.com> > > 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: batik-users-unsubscr...@xmlgraphics.apache.org >> For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org >> >> >