https://bugzilla.novell.com/show_bug.cgi?id=448012
User receive-spam@yandex.ru added comment
https://bugzilla.novell.com/show_bug.cgi?id=448012#c3
--- Comment #3 from Arseniy Lartsev 2008-12-22 03:21:05 MST ---
This is due to hardcoded font substitution in Qt 4.4.3: "Sans Serif" is
substituted by "helvetica" which in turn equals Nimbus Sans L according to what
"fc-match helvetica" says.
This substitution is defined at src/gui/text/qfont.cpp on line 1768. After
commenting out this line, Qt's "Sans Serif" on my system becomes equal
Liberation Sans.
Corresponding patch for Qt 4.4.3:
diff -rup src/gui/text/qfont.cpp src/gui/text/qfont.cpp
--- qt-x11-opensource-src-4.4.3-orig/src/gui/text/qfont.cpp 2008-09-27
12:58:47.000000000 +0400
+++ qt-x11-opensource-src-4.4.3/src/gui/text/qfont.cpp 2008-12-21
02:04:55.000000000 +0300
@@ -1765,7 +1765,7 @@ static void initFontSubst()
"arial", "helvetica",
"times new roman", "times",
"courier new", "courier",
- "sans serif", "helvetica",
+// "sans serif", "helvetica", -- Better let fontconfig do it's work
#elif defined(Q_WS_WIN)
"times", "times new roman",
"courier", "courier new",
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.