Cockatrice/cockatrice/src/game_graphics/player
BruebachL 396196b762
[Fonts] Migrate CardText surfaces to theme font role (#7538)
* [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>
2026-11-04 07:57:54 +01:00
..
menu [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
player_area.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
player_area.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
player_dialogs.cpp [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
player_dialogs.h [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
player_graphics_item.cpp [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
player_graphics_item.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
player_list_widget.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
player_list_widget.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
player_target.cpp [Fonts] Migrate CardText surfaces to theme font role (#7538) 2026-11-04 07:57:54 +01:00
player_target.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00