qt5-qtbase/qtbase-QTBUG-111994.patch
Than Ngo 2d8ecc664f - Fix bz#2178389, Qt application render very thin fonts after
switch to VF version of Noto CJK fonts
2023-03-20 14:45:04 +01:00

12 lines
798 B
Diff

diff -pruN qtbase-everywhere-src-5.15.8.orig/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp qtbase-everywhere-src-5.15.8/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp
--- qtbase-everywhere-src-5.15.8.orig/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp 2023-03-16 16:21:48.574489839 +0900
+++ qtbase-everywhere-src-5.15.8/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp 2023-03-17 15:58:39.312498612 +0900
@@ -564,6 +564,7 @@ void QFontconfigDatabase::populateFontDa
FcObjectSetAdd(os, *p);
++p;
}
+ FcPatternAddBool(pattern, FC_VARIABLE, FcFalse);
fonts = FcFontList(nullptr, pattern, os);
FcObjectSetDestroy(os);
FcPatternDestroy(pattern);