Commit graph

83 commits

Author SHA1 Message Date
91038c8f17 Updated lib_ui to latest patches-track-wip 2024-07-01 17:53:11 +03: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
c87e6390de Fix Semibold Italic fonts 2020-06-03 19:55:56 +03:00
bb182bbf5d Merge remote-tracking branch 'upstream/master' 2020-06-03 11:57:47 +03:00
Ilya Fedin
06d4cd2dab Set style name always
For some reason with kde platformtheme plugin DemiBold doesn't work

Also use italic version of semibold font when needed
2020-06-01 18:32:44 +04:00
d21837e8ac Fix missing setBold for non-system bundled fonts 2020-05-15 14:07:38 +03:00
a71cde7dd4 Moving *_USE_PACKAGED_FONTS and use QFont::DemiBold for system font option 2020-05-13 12:14:55 +03:00
6a0c87e064 Make "bold for semibold" option force bold 2020-05-13 11:27:42 +03:00
1da7b32a3f Merge remote-tracking branch 'upstream/master' 2020-05-13 00:44:45 +03:00
Ilya Fedin
d05d9b214d Fix bolding with packaged fonts 2020-05-12 09:41:29 +04:00
Ilya Fedin
95b49979fb Remove unneeded Segoe UI fallback struct and add Vazir file struct 2020-05-12 09:41:29 +04:00
John Preston
8a1aeb22d8 Use Vazir font on macOS too. 2020-05-10 17:10:21 +04:00
2e6262d1d4 Merge remote-tracking branch 'upstream/bold' 2020-05-10 01:33:34 +03:00
4dda2bc846 Remove unneded condition for setting bold font for semibold 2020-05-09 14:15:49 +03:00
3cca2516c2 Merge remote-tracking branch 'upstream/master' 2020-05-09 04:02:54 +03:00
John Preston
c9120970c2 Try all being Semibold -> Bold -> Regular. 2020-05-08 18:51:15 +04:00
Ilya Fedin
88845bfec9 Choose actual semibold style for system fonts 2020-05-08 12:41:40 +04:00
Ilya Fedin
f987f596f1 Add Vazir font for Persian glyphs 2020-05-08 12:41:40 +04:00