Closed davideby closed 6 years ago
Thank you for the enhancement! However, I will only be able to look at things tomorrow, sorry for the delay.
No problem! I was just about to try to figure out the EPS & PDF equivalents as well.
There's a bigger PR coming soon. Maybe I should file a GitHub Issue on that first in case we need to discuss it beforehand.
Added equivalents for EPS & PDF.
This fixes a bug where setting e.g. a java.awt.LineBorder on a JPanel results in a solid-fill rectangle obscuring the contents.
Unfortunately I don't know the corresponding fix for PDF and EPS.
A little background: We're converting SVG export for our project (IGV) over from Batik as it's not ready for Java 9+ and is too heavyweight anyway. We considered writing our own exporter but yours is already in good shape. We found a couple of bugs in testing. This is the first and was pretty easy; we'll see how the next one goes.
Here's the relevant part of the spec.