https://bugzilla.novell.com/show_bug.cgi?id=448012 User wstephenson@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=448012#c6 --- Comment #6 from Will Stephenson <wstephenson@novell.com> 2009-01-05 04:22:41 MST --- Apparently this is the correct fix (see "Where are font mappings for generic fonts defined in KDE" thread on kde-devel@kde.org) diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index 7e7e9bc..d878d5b 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp -35,6 +35,7 @@ #ifdef Q_WS_X11 #include "qx11info_x11.h" +#include <private/qt_x11_p.h> #endif #ifdef Q_WS_QWS #include "qscreen_qws.h" -1756,6 +1757,10 @@ static void initFontSubst() Q_ASSERT(fontSubst != 0); if (!fontSubst->isEmpty()) return; +#if defined(Q_WS_X11) && !defined(QT_NO_FONTCONFIG) + if (X11->has_fontconfig) + return; +#endif for (int i=0; initTbl[i] != 0; i += 2) { QStringList &list = (*fontSubst)[QString::fromLa -- 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.