Commit graph

99 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
Ilya Fedin
f76ddd841c Stop modifying application-wide QFont object 2024-05-04 10:08:39 +04:00
Ilya Fedin
7e9dc6e4f2 Initialize QFont with clean state 2024-05-04 10:08:39 +04:00
John Preston
db8c3d16e8 Fix adjustment of size for modified fonts. 2024-05-03 11:25:01 +04:00
John Preston
5b8eb3a5b8 Don't adjust monospace font size. 2024-05-02 19:36:23 +04:00
John Preston
141c1b4a7e Use same size for styled fonts. 2024-05-02 18:52:50 +04:00
John Preston
6e924177b7 Fix build with Xcode and GCC. 2024-05-02 12:53:57 +04:00
John Preston
d703a804df Improve font size edge cases. 2024-05-02 12:05:35 +04:00
John Preston
86dc01e9bc Use custom-adjusted font metrics. 2024-05-02 11:32:44 +04:00
John Preston
4ddff63a9b Improve font size selection a bit. 2024-05-01 19:09:37 +04:00
Ilya Fedin
7fcfaa9dd5 Detect the lack of semibold style 2024-04-29 11:23:46 +04:00
John Preston
cb57bef3f0 Allow a bit more font size adjusting. 2024-04-26 20:16:20 +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
b361d6151c Fix unused warnings with DESKTOP_APP_USE_PACKAGED_FONTS 2023-09-22 09:08:56 +04:00
Ilya Fedin
68b43db05d Minimize amount of code to rebuild when switching options 2023-09-22 09:08:56 +04:00
Ilya Fedin
e24eaa6b32 Produce a nice terminal warning about lack of patched fonts 2023-09-11 09:09:42 +04:00
Ilya Fedin
8c58ebc136 Remove unnecessary private Qt API usage 2023-05-15 12:29:01 +04:00
John Preston
bfdd116000 Handle emoji myself in custom macOS title. 2023-04-26 22:50:22 +04:00
John Preston
41ee2fb0f0 Use QFontMetricsF and ceil() the width() results. 2023-01-24 12:10:48 +04:00
John Preston
18580e46a1 Handle touch events in PopupMenu. 2022-09-19 17:28:40 +04:00
Ilya Fedin
efdc82c823 Add Cascadia Code as preferred monospace font
And switch macOS to system monospace font as Cascadia Code is more likely to be installed by the user
2022-09-19 12:39:22 +04:00
c6b55d9c37 Updated lib_ui sources to TDesktop version 3.3 2021-12-07 17:52:09 +03:00
ilya-fedin
1a7c3402e1
Fix font family for bold text in messages (#12) 2021-12-07 14:50:17 +03:00
9b56cbd4ab Updated lib_ui sources to TDesktop version 3.2.5 2021-12-07 07:21:25 +03:00
Ilya Fedin
e3c4d49912 Remove legacy QRC files
qt_linux.conf has no visible effect for a long time and mac.qrc is empty, so remove them to get rid of unneeded rcc invocations
2021-12-06 12:27:45 +04:00
John Preston
bd7c085bd0 Fix warning in GCC on C++20. 2021-11-14 11:26:24 +04:00
John Preston
f51ff6b513 Use Qt resources from a file on macOS. 2021-10-27 20:39:21 +04:00
f206cb7bbb Updated lib_ui sources to TDesktop version 2.8.11+b2c762e 2021-07-20 06:50:26 +03:00
Ilya Fedin
51cfd0ba35 Fix -Wunused-variable warnings with gcc 2021-07-19 18:59:36 +03:00
57f2e7c311 Fix applying of main font 2021-05-02 23:17:43 +03:00
Ilya Fedin
505c1bea18 Get font settings via Ui Integration 2021-04-28 13:43:41 +04:00
545a792033 Updated lib_ui sources to TDesktop version 2.7.2 2021-04-26 23:43:54 +03:00
John Preston
98e3ba2c58 Remove legacy Integration::startFonts[Begin|End]. 2021-04-20 16:39:27 +04:00
John Preston
d07bee87cd Use LOG/DEBUG_LOG from lib_base. 2021-04-20 16:39:27 +04:00
84a46ce773 Updated lib_ui sources to TDesktop version 2.7.1+c08a148 2021-03-28 13:41:16 +03:00
Ilya Fedin
03f8ab361f Avoid multiple QString::arg usage as suggested by clazy 2021-03-13 19:06:29 +03:00
Ilya Fedin
2039c59293 Apply autofixes from clazy 2021-03-13 11:20:51 +03:00
Ilya Fedin
da2d14bd99 Fallback to custom main font if custom semibold font is not specified 2020-12-26 05:14:52 +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
7afb927acf Merge remote-tracking branch 'upstream/master' 2020-06-26 07:24:19 +03:00
Ilya Fedin
f749fc7349 Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-13 16:08:39 +04:00
Ilya Fedin
5534b37e6f Merge remote-tracking branch 'tdesktop/master' into v2.1.10 2020-06-08 04:05:07 +04:00
f2d287541a Fix italic with bold semibold 2020-06-08 02:42:09 +03:00
John Preston
05d1ee3796 Allow overriding fonts by (family,style). 2020-06-05 19:42:07 +04:00