0c929a8ba4
Fix custom font
2020-06-08 21:33:29 +03: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
John Preston
0ef9558269
Treat Semibold as Regular.
2020-05-08 12:11:16 +04: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
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
Ilya Fedin
1647b0b76a
Fix setWeight order
2020-04-28 12:15:51 +04: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
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
d443119c7c
Merge remote-tracking branch 'upstream/master'
2020-03-30 22:04:35 +03:00
John Preston
246aa24530
Add callbacks for fonts init.
2020-03-30 12:16:01 +04:00
ilya-fedin
e6fdff4597
Use extern with custom font variables ( #3 )
2020-03-07 00:57:39 +03:00
eacf588546
Merge remote-tracking branch 'upstream/master' into new-master
2020-02-26 02:22:04 +03:00
Maks Naumov
44c4633684
Fix memleak when Icon move ctor is used
2020-02-10 12:12:05 +04:00
2216daa587
Merge remote-tracking branch 'upstream/master'
2020-02-06 10:44:07 +03:00
f5e3d21113
Option to use original font metrics
2020-02-05 21:12:36 +03:00
6f6fd67571
Removing default constructor
2020-02-04 17:53:59 +03:00
John Preston
9cea7f117e
Fix rendering of 'Mathematical Alphanumeric Symbols' on macOS.
2020-02-04 12:23:19 +04:00
ilya-fedin
3106a3474b
add possiblity to use system font ( #2 )
2020-01-30 10:43:51 +03:00
3b2cbce204
Adding tabulation for consistency
2020-01-24 03:35:57 +03:00
3ec3d0f2a8
Merge remote-tracking branch 'upstream/master'
2020-01-23 21:14:48 +03:00
Ilya Fedin
f87b96e5b7
Use DemiBold when using packaged fonts
2020-01-23 10:07:57 +03:00
Ilya Fedin
35176fd02a
Add macro for disabling fonts bundling
2020-01-21 14:57:44 +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
1d2bfb4863
Merge remote-tracking branch 'upstream/master'
2020-01-18 17:55:26 +03:00