1
0
mirror of https://github.com/danog/patches.git synced 2024-11-30 04:19:34 +01:00

Fix too light weight for chinese font

This commit is contained in:
Ilya Fedin 2020-05-04 07:58:21 +04:00 committed by John Preston
parent c40373603a
commit 7aed239952

View File

@ -458,7 +458,7 @@ index f3f0caa379..081c5f03c0 100644
return oldPos;
diff --git a/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp b/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
index 9e6e5d88c7..bfde9ac9ba 100644
index 9e6e5d88c7..dc5986d9c7 100644
--- a/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
+++ b/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
@@ -1694,50 +1694,50 @@ HFONT QWindowsFontDatabase::systemFont()
@ -471,7 +471,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "PMingLiU",
+ "Yu Gothic UI",
+ "Malgun Gothic",
+ "Microsoft YaHei",
+ "Microsoft YaHei UI",
+ "Microsoft JhengHei UI",
"Arial Unicode MS",
0
@ -485,7 +485,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "SimSun",
- "PMingLiU",
+ "Malgun Gothic",
+ "Microsoft YaHei",
+ "Microsoft YaHei UI",
+ "Microsoft JhengHei UI",
"Arial Unicode MS",
0
@ -493,7 +493,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
static const char *ch_CN_tryFonts [] = {
- "SimSun",
+ "Microsoft YaHei",
+ "Microsoft YaHei UI",
"Arial",
- "PMingLiU",
- "Gulim",
@ -512,7 +512,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "SimSun",
- "Gulim",
- "MS UI Gothic",
+ "Microsoft YaHei",
+ "Microsoft YaHei UI",
+ "Malgun Gothic",
+ "Yu Gothic UI",
"Arial Unicode MS",
@ -527,7 +527,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "SimSun",
- "MS UI Gothic",
+ "Microsoft JhengHei UI",
+ "Microsoft YaHei",
+ "Microsoft YaHei UI",
+ "Yu Gothic UI",
"Arial Unicode MS",
0