Commit graph

540 commits

Author SHA1 Message Date
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
John Preston
8e2cfbf303 Insert only paragraph separators in the field. 2020-05-12 19:12:33 +04:00
John Preston
6aa6a143bf Add a workaround for invalid Qt signal data. 2020-05-12 19:11:46 +04:00
John Preston
4d2f17d9fc Fix build on Linux. 2020-05-12 16:34:42 +04:00
Ilya Fedin
e5a527b5ef Adapt for building with MinGW and 64-bit 2020-05-12 15:07:37 +04:00
John Preston
b1d00d0b28 Add method to count max monospace paragraph width. 2020-05-12 11:05:55 +04: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
Ilya Fedin
ef31d05da5 Wayland always support compositing 2020-05-12 09:40:25 +04:00
John Preston
8a1aeb22d8 Use Vazir font on macOS too. 2020-05-10 17:10:21 +04:00
John Preston
8e44fb7780 Fix tilde hack for non-empty styleName. 2020-05-10 17:02:37 +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
John Preston
0ef9558269 Treat Semibold as Regular. 2020-05-08 12:11:16 +04:00
John Preston
555a9d203c Add a separate Semibold entity type. 2020-05-08 12:07:35 +04:00
John Preston
cc9b7e2c2f Use Bold instead of Semibold by entities. 2020-05-08 11:51:41 +04:00
John Preston
ab5a226056 Save set id that failed to load. 2020-05-07 19:04:45 +04:00
John Preston
2e82e7a3c9 Add data for the updated emoji. 2020-05-06 19:28:06 +04:00
8bab33ccc9 Correctly resize box title if it has top button 2020-05-06 03:24:15 +03:00
Ilya Fedin
a76cb8e35e Merge remote-tracking branch 'tdesktop/master' into v2.1.2 2020-05-05 17:39:57 +04:00
John Preston
8660904bc8 Add a check for monospace font on Linux. 2020-05-05 15:48:03 +04:00
Ilya Fedin
06eadc0caf Patch semibold font as bold to fallback to bold fonts for CJK languages 2020-05-05 14:14:55 +04:00
John Preston
83fada4675 Fix separate panels transparent background.
Regression was introduced with migration to Qt 5.12.8.
2020-05-05 13:51:40 +04:00
ilya-fedin
d607531541
fix ifdef position and missed condition for demibold (#4) 2020-05-04 19:41:48 +03:00
0ca2b761c6 Merge remote-tracking branch 'upstream/master' 2020-05-01 22:04:27 +03:00
John Preston
8e568a4f15 Remove font substitutions now that they're in Qt. 2020-05-01 19:59:04 +04:00
966cf4d23d Merge remote-tracking branch 'upstream/master' 2020-05-01 18:00:11 +03:00
John Preston
124b9880d4 Increment emoji cache version. 2020-05-01 12:58:50 +04:00
John Preston
9086052985 Fix build on Xcode. 2020-04-30 17:18:04 +04:00
John Preston
ce0619dadd Use the same margins for different controls. 2020-04-30 16:34:24 +04:00
John Preston
66e44506dc Support tooltips with an icon. 2020-04-30 14:50:34 +04:00
John Preston
7849f0561b Allow sliding toasts from the parent side. 2020-04-30 13:16:15 +04:00
John Preston
48a8315740 Introduce a toast style structure. 2020-04-29 18:52:18 +04:00
Ilya Fedin
1647b0b76a Fix setWeight order 2020-04-28 12:15:51 +04:00
03fa1d9275 Try to fix input field margins 2020-04-26 19:06:00 +03:00
772a178a66 Fixing sidebar buttons again 2020-04-25 17:21:43 +03:00
29052af594 Post-merge fixes 2020-04-24 18:38:34 +03:00
85ffed7fcc Get metrics from custom named Open Sans if available 2020-04-24 16:58:38 +03:00
Ilya Fedin
499af3e481 Merge remote-tracking branch 'tdesktop/master' into v2.1 2020-04-24 16:40:24 +04:00
John Preston
725d768f0f Add methods to detect suspicious urls and encode domains. 2020-04-23 18:11:53 +04:00
John Preston
40084cab95 Allow twice as dark toasts for quizes. 2020-04-21 14:03:54 +04:00
John Preston
6d26132685 Allow custom click handlers in toasts. 2020-04-20 14:17:37 +04:00