mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-11 12:33:25 -08:00
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. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| card_ref.h | ||
| clamped_arithmetic.h | ||
| color.h | ||
| counter_limits.h | ||
| cryptoutil.cpp | ||
| cryptoutil.h | ||
| days_years_between.h | ||
| debouncer.h | ||
| dice_limits.h | ||
| expression.cpp | ||
| expression.h | ||
| installer_close_protocol.h | ||
| levenshtein.cpp | ||
| levenshtein.h | ||
| local_server_name.h | ||
| macros.h | ||
| passwordhasher.cpp | ||
| passwordhasher.h | ||
| peglib.h | ||
| playmat_params.h | ||
| qt_utils.h | ||
| report_categories.cpp | ||
| report_categories.h | ||
| server_rate_limiter.cpp | ||
| server_rate_limiter.h | ||
| string_limits.h | ||
| svg_recolor.cpp | ||
| svg_recolor.h | ||
| translation_loader.cpp | ||
| translation_loader.h | ||
| user_data_backup.cpp | ||
| user_data_backup.h | ||
| warning_categories.cpp | ||
| warning_categories.h | ||
| zone_names.h | ||