1
0
mirror of https://github.com/danog/patches.git synced 2024-12-02 09:17:58 +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; return oldPos;
diff --git a/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp b/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp 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 --- a/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
+++ b/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp +++ b/src/platformsupport/fontdatabases/windows/qwindowsfontdatabase.cpp
@@ -1694,50 +1694,50 @@ HFONT QWindowsFontDatabase::systemFont() @@ -1694,50 +1694,50 @@ HFONT QWindowsFontDatabase::systemFont()
@ -471,7 +471,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "PMingLiU", - "PMingLiU",
+ "Yu Gothic UI", + "Yu Gothic UI",
+ "Malgun Gothic", + "Malgun Gothic",
+ "Microsoft YaHei", + "Microsoft YaHei UI",
+ "Microsoft JhengHei UI", + "Microsoft JhengHei UI",
"Arial Unicode MS", "Arial Unicode MS",
0 0
@ -485,7 +485,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "SimSun", - "SimSun",
- "PMingLiU", - "PMingLiU",
+ "Malgun Gothic", + "Malgun Gothic",
+ "Microsoft YaHei", + "Microsoft YaHei UI",
+ "Microsoft JhengHei UI", + "Microsoft JhengHei UI",
"Arial Unicode MS", "Arial Unicode MS",
0 0
@ -493,7 +493,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
static const char *ch_CN_tryFonts [] = { static const char *ch_CN_tryFonts [] = {
- "SimSun", - "SimSun",
+ "Microsoft YaHei", + "Microsoft YaHei UI",
"Arial", "Arial",
- "PMingLiU", - "PMingLiU",
- "Gulim", - "Gulim",
@ -512,7 +512,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "SimSun", - "SimSun",
- "Gulim", - "Gulim",
- "MS UI Gothic", - "MS UI Gothic",
+ "Microsoft YaHei", + "Microsoft YaHei UI",
+ "Malgun Gothic", + "Malgun Gothic",
+ "Yu Gothic UI", + "Yu Gothic UI",
"Arial Unicode MS", "Arial Unicode MS",
@ -527,7 +527,7 @@ index 9e6e5d88c7..bfde9ac9ba 100644
- "SimSun", - "SimSun",
- "MS UI Gothic", - "MS UI Gothic",
+ "Microsoft JhengHei UI", + "Microsoft JhengHei UI",
+ "Microsoft YaHei", + "Microsoft YaHei UI",
+ "Yu Gothic UI", + "Yu Gothic UI",
"Arial Unicode MS", "Arial Unicode MS",
0 0