Cockatrice/libcockatrice_utility
Lukas Brübach 366e734b53 [Icons] Add SVG currentColor sentinel resolver
Qt's SVG renderer has no CSS cascade, so a `currentColor` fill has to be
substituted before the bytes reach QSvgRenderer.

- Match and replace on bytes: both the sentinel and the replacement are
  ASCII, so the document never goes through a UTF-16 round trip, and files
  that are not valid UTF-8 survive unchanged.
- Document that the match is a plain case-insensitive substring, so an
  identifier that merely starts with the sentinel gets rewritten too.
2026-11-01 17:49:19 +01:00
..
libcockatrice/utility [Icons] Add SVG currentColor sentinel resolver 2026-11-01 17:49:19 +01:00
CMakeLists.txt [Icons] Add SVG currentColor sentinel resolver 2026-11-01 17:49:19 +01:00