Commit graph

169 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
John Preston
db2a1279d6 Update Vazir font to 26.0.2. 2020-05-24 11:44:41 +04: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
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
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
fbf041d1f6 Mark custom semibold fonts as bold. 2020-05-05 14:00:21 +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
John Preston
8e568a4f15 Remove font substitutions now that they're in Qt. 2020-05-01 19:59:04 +04: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
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
John Preston
2cb10e1d13 Use default QApplication::font. 2020-04-15 18:05:28 +04:00
John Preston
3090ba7721 Use predefined monospace fonts on macOS. 2020-04-13 17:12:46 +04:00
ilya-fedin
74889b8c21 Better algorithm for font choosing 2020-04-13 11:31:34 +04:00
John Preston
8d8d561127 Support rich text in toasts. 2020-04-07 13:58:24 +04:00
John Preston
14c5da49f9 Improve multi-line texts with broken words. 2020-03-31 12:33:35 +04:00
Ilya Fedin
86cb882aab Move fc-custom.conf to fonts.qrc 2020-03-30 13:50:17 +04:00
John Preston
246aa24530 Add callbacks for fonts init. 2020-03-30 12:16:01 +04:00
23rd
23009b62ad Added ability to finish reordering in vertical layout from external. 2020-03-28 18:51:00 +03:00
23rd
d1619b728e Added ability to scroll vertical layout during reordering. 2020-03-28 18:51:00 +03:00
John Preston
730816ef52 Move on-top panel one level below on macOS. 2020-03-25 13:23:31 +04:00
John Preston
7224c6a191 Move too wide badge to the left. 2020-03-24 17:51:14 +04:00
John Preston
f497eac804 Fix side bar button height with long text. 2020-03-23 15:10:34 +04:00
23rd
adcc2f28a5 Fixed vertical layout's item position when it doesn't require animation. 2020-03-22 18:37:09 +03:00
John Preston
eaab3f9a8a Implement animated VerticalLayout reordering. 2020-03-20 16:33:29 +04:00
John Preston
b051948e69 Allow reordering widgets in Ui::VerticalLayout. 2020-03-20 15:39:09 +04:00