jonathancrabtree / Circleator

Flexible circular visualization of genome-associated data with BioPerl and SVG.
Other
46 stars 8 forks source link

Some Rect elements contain "r" (radius) attribute #33

Closed jonathancrabtree closed 6 years ago

jonathancrabtree commented 6 years ago

Looks like a bug in the construction of the for tracks drawn with two concentric circles. Rasterizing the SVG with these radius attributes results in artifacts in some cases, but it appears to be library and/or O/S dependent.

jonathancrabtree commented 6 years ago

It appears that the radius attributes weren't responsible for the PNG artifacts. It's a known Apache Batik bug which was thought to be fixed, but is not. Some details can be found here:

https://issues.apache.org/jira/browse/BATIK-1170

Note the report that Batik 1.9 is still failing the test with the Oracle 1.8 JVM. Some testing on Centos 7.2 revealed that Batik 1.9 does not have the problem when run with OpenJDK 1.6, but does have the problem in more recent OpenJDK releases.