Commit graph

12 commits

Author SHA1 Message Date
John Preston
d944b4e4ef Try disabling manual Segoe UI fallback. 2024-04-23 10:20:30 +04:00
Ilya Fedin
a052b22872 Try to make font handling more straightforward 2024-04-23 09:47:46 +04:00
Ilya Fedin
8c58ebc136 Remove unnecessary private Qt API usage 2023-05-15 12:29:01 +04:00
Joe Kappus
6e81116513 Add missing include to fix GCC12 build
Signed-off-by: Joe Kappus <joe@wt.gd>
2023-02-04 14:02:44 +04:00
John Preston
41ee2fb0f0 Use QFontMetricsF and ceil() the width() results. 2023-01-24 12:10:48 +04:00
John Preston
bd7c085bd0 Fix warning in GCC on C++20. 2021-11-14 11:26:24 +04:00
John Preston
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
John Preston
05d1ee3796 Allow overriding fonts by (family,style). 2020-06-05 19:42:07 +04:00
ilya-fedin
74889b8c21 Better algorithm for font choosing 2020-04-13 11:31:34 +04:00
Nicholas Guriev
4c165ea446 Remove explicitly defined copy operator for style::internal::Font
It was equivalent of default copy operator generated by compiler itself.
Removing this copy operation, we do not change behavior of the code but
resolve the -Wdeprecated-copy warning from GCC.
2020-01-21 12:32:06 +03:00
John Preston
e824bb2f6b Use custom named fonts. 2019-10-13 10:44:45 +04:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00