Stanimir Stamenkov
Stanimir Stamenkov
> I haven't verified explicitly but the performance should not be noticeably slower. I've now run a few microbenchmarks. I've measured ~54% slower performance. I've got average times of ~68μs...
> I also believe that [comments are allowed anywhere after the optional XML declaration](https://www.w3.org/TR/xml/#NT-prolog), so your first "no longer accepted" example above, should still be accepted. 😀 Note, that example...
> file format detection should prioritize performance, over 100% reliable detection. From the API docs... I'm unsure of the point you're making here. If the format detection rejects a valid...
> There are also some security considerations that need to be assessed, regarding XML parsing. You may have a look at: https://github.com/haraldk/TwelveMonkeys/blob/bc31399c6e9134b52bd5472a0984f17b987b833c/imageio/imageio-batik/src/main/java/com/twelvemonkeys/imageio/plugins/svg/DoctypeHandler.java#L138-L140 and: https://github.com/haraldk/TwelveMonkeys/blob/bc31399c6e9134b52bd5472a0984f17b987b833c/imageio/imageio-batik/src/main/java/com/twelvemonkeys/imageio/plugins/svg/DoctypeHandler.java#L127-L132 Basically, no external entities are allowed...
> While debugging I can see the problem codinition kicking in for 0 and 360 deg as well, but the rendered result doesn't exhibit a problem (another unknown to me)....
See also css4j/echosvg@615824511ac59e7b49b11aeab27f4a53065e5e45 that suggests a more minimal fix: ```diff --- a/batik-svg-dom/src/main/java/org/apache/batik/dom/svg/AbstractSVGTransformList.java +++ b/batik-svg-dom/src/main/java/org/apache/batik/dom/svg/AbstractSVGTransformList.java @@ -284,7 +284,7 @@ public void assign(SVGTransform transform) { setScale(matrix.getA(), matrix.getD()); break; case SVGTransform.SVG_TRANSFORM_ROTATE: - if...
@ruslya7, if you just want to use the cursors you could give the zip attached to https://github.com/ful1e5/apple_cursor/issues/90#issuecomment-1992192852 a try. It contains only `.cur` and `.ani` files – no install scripts.
Which would be the default one? There's `Pointer.cur` I would call the default one. The file naming may differ (likely differs) from previous apple_cursor releases.
The style sheet already uses CSS system colors. The `color-scheme: light dark` declaration just adjusts their actual values to the browser's theme setting.
Here's a demo: | Dark | Light | |-|-| |  |  |