Replace svgSalamander with jsvg#684
Conversation
|
@weisJ Great work! Just tried the FlatLafDemo and if any |
|
@weisJ I also ran into a problem in
It produces an "Invalid protocol: inputStreamSVG" error. Except for this and my other report it works a lot better with randomly tested SVGs as opposed with SvgSalmander that fail with those. |
|
@weisJ many thanks for the PR and for JSVG 👍 I've reviewed it and fixed in color filter and loading from input stream issues. Will test this PR and JSVG in some other projects in the next weeks... |
|
Note that I had originally not changed the cache to take URLs as keys due to this problem: https://errorprone.info/bugpattern/URLEqualsHashCode |
|
Many thanks for this hint. Didn't know that. Changed the cache key from URL to String to avoid that. |
See #664