mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-07 10:33:24 -08:00
* [Fonts] Migrate CardText surfaces to theme font role * [Fonts] Keep CardText call sites on the app font and fix px sizes - CardText's unset fallback is qApp->font() again: only the three counter painters (paintNumberEllipse, GeneralCounter, PlayerCounter) were Serif before the role existed, and they now ask for it through ThemeManager::cardTextFont(). Card names, player names, counters, the overlay, the Archidekt and EDHREC labels and the completer delegate keep the app font they used before. - Use setPixelSize for the EDHREC card name (20px) and commander name (28px) and details (16px) sizes: the stylesheets said px, and setPointSize made them about a third larger. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| abstract_card_drag_item.cpp | ||
| abstract_card_drag_item.h | ||
| abstract_card_item.cpp | ||
| abstract_card_item.h | ||
| abstract_counter.cpp | ||
| abstract_counter.h | ||
| abstract_graphics_item.cpp | ||
| abstract_graphics_item.h | ||
| arrow_item.cpp | ||
| arrow_item.h | ||
| arrow_registry.cpp | ||
| arrow_registry.h | ||
| arrow_target.cpp | ||
| arrow_target.h | ||
| card_drag_item.cpp | ||
| card_drag_item.h | ||
| card_item.cpp | ||
| card_item.h | ||
| counter_general.cpp | ||
| counter_general.h | ||
| graphics_item_type.h | ||
| translate_counter_name.cpp | ||
| translate_counter_name.h | ||