Hi Matthew,
Response inline...
> I have some SVG that contains text and lines and only parts of it render
> with Squiggle or Batik, and even then there are differences between what
> renders.
I guess I'm missing something here... What are the rendering
differences between Squiggle and Batik?
> I using Batik 1.7 on a MacBook Pro running Mac OS 10.5.8 and Java
> 1.5.0_20.
[...]
> With Squiggle, no text is shown nor the large horizontal line.
MacOS and no text? Seems like you've bumped at issue 47917 [1]... The
simplest way to check (and workaround) it would be adding
"-Dapple.awt.graphics.UseQuartz=false" to the Java command line. Try
it and report back! ;-)
> Producing a PDF using batik-rasterizer renders the text but the large
> horizontal line is still omitted.
>
> What is going wrong?
The large horizontal line issue was starting to feel *really* weird
until I noticed it was just due to a parsing error: note that the line
(id="1-1-cl") has an invalid CSS declaration ("fill-rule;evenodd;",
note the semicolon separator instead of colon). That is causing the
line to be excluded from the rendering. :-)
> Cheers,
>
> Matthew
Hope this helps,
Helder
[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=47917
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]