Commit graph

28 commits

Author SHA1 Message Date
ac2e96cc7d Updated lib_ui to latest patches-track-wip (TD 5.0.6) 2024-08-31 01:35:59 +03:00
91038c8f17 Updated lib_ui to latest patches-track-wip 2024-07-01 17:53:11 +03:00
John Preston
86dc01e9bc Use custom-adjusted font metrics. 2024-05-02 11:32:44 +04:00
Ilya Fedin
17cc6f3783 Get rid of no more used GetFontOverride 2024-04-24 17:18:58 +04:00
John Preston
ae5a61f7ae Allow custom font with adjusted size. 2024-04-23 16:38:37 +04:00
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
c6b55d9c37 Updated lib_ui sources to TDesktop version 3.3 2021-12-07 17:52:09 +03:00
John Preston
bd7c085bd0 Fix warning in GCC on C++20. 2021-11-14 11:26:24 +04:00
Ilya Fedin
505c1bea18 Get font settings via Ui Integration 2021-04-28 13:43:41 +04:00
Ilya Fedin
c441745209 No need to parse Semibold in name since tdesktop code always uses Semibold style 2020-12-26 03:42:13 +04:00
5bb0b6a6e5 Updated lib_ui sources to TDesktop version 2.5.1 2020-12-23 21:03:36 +03:00
John Preston
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
Ilya Fedin
5534b37e6f Merge remote-tracking branch 'tdesktop/master' into v2.1.10 2020-06-08 04:05:07 +04:00
John Preston
05d1ee3796 Allow overriding fonts by (family,style). 2020-06-05 19:42:07 +04:00
Ilya Fedin
499af3e481 Merge remote-tracking branch 'tdesktop/master' into v2.1 2020-04-24 16:40:24 +04:00
ilya-fedin
74889b8c21 Better algorithm for font choosing 2020-04-13 11:31:34 +04:00
ilya-fedin
e6fdff4597
Use extern with custom font variables (#3) 2020-03-07 00:57:39 +03:00
f5e3d21113 Option to use original font metrics 2020-02-05 21:12:36 +03:00
ilya-fedin
3106a3474b
add possiblity to use system font (#2) 2020-01-30 10:43:51 +03:00
3ec3d0f2a8 Merge remote-tracking branch 'upstream/master' 2020-01-23 21:14:48 +03: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
b445c55444 Allow to set custom font before starting 2019-11-08 01:02:46 +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