I don't think so. It's probably a little more complicated: We haven't migrated the PDF and PS transcoders that were developed in FOP over to Batik, yet. If you want theses changes you'll have to get the sources for FOP Trunk from Subversion. You can skip XML Graphics Commons for now because you're probably not interested in the fix for PS/EPS output, only PDF. You'll need to build FOP from the sources and take fop-transcoder-allinone.jar and use that JAR file instead of the pdf-transcoder.jar in Batik's lib directory.
On 18.04.2006 14:43:45 benamou wrote: > OK thanks > does that means that it should work in batik nightly builds ? > JD > > ----- Original Message ----- > From: "Jeremias Maerki" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, April 18, 2006 2:39 PM > Subject: Re: problem with stroke-dasharray while converting svg to pdf with > batik-rasterizer > > > > Thanks for reporting this. I've fixed it in both PDFGraphics2D (FOP > > Trunk) and PSGraphics2D (XML Graphics Commons Trunk). The latter had a > > similar but somewhat different bug. > > > > Changes in SVN: > > http://svn.apache.org/viewcvs?rev=394928&view=rev > > http://svn.apache.org/viewcvs?rev=394927&view=rev > > > > On 18.04.2006 10:08:36 benamou wrote: > >> Sorry here is a test case : > >> > >> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="210mm" > >> height="297mm" viewBox="0 0 210 297"><rect x="20" y="20" width="10" > >> height="10" fill="none" stroke="black" stroke-width="0.25" > >> stroke-dasharray="0.25"/></svg> > >> > >> the svg has the correct number of dashes > >> > >> the pdf obtained with > >> > >> java -jar batik-rasterizer -d test.pdf -m application/pdf test.svg > >> > >> shows only 5 per side. > >> ----- Original Message ----- > >> From: benamou > >> To: [email protected] > >> Sent: Tuesday, April 18, 2006 9:57 AM > >> Subject: problem with stroke-dasharray while converting svg to pdf with > >> batik-rasterizer > >> > >> > >> > >> Hi, > >> > >> it seems any decimal value of > >> stroke-dasharray > >> > >> default to 1 when converting svg to pdf. > >> > >> I am using JRE1.5 on windows XP and Server 2003 > >> > >> Thanks > >> > >> JD > > > > > > > > Jeremias Maerki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
