All pastes #275799 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-11 20:30 UTC
rendered paste body
diff -urpN qt-x11-free-3.3.7/src/kernel/qfontdatabase_x11.cpp qt-x11-free-3.3.7.mod/src/kernel/qfontdatabase_x11.cpp
--- qt-x11-free-3.3.7/src/kernel/qfontdatabase_x11.cpp  2006-10-19 16:25:13.000000000 +0200
+++ qt-x11-free-3.3.7.mod/src/kernel/qfontdatabase_x11.cpp      2006-12-11 21:26:49.000000000 +0100
@@ -1869,6 +1869,7 @@ static QFontEngine *loadFontConfigFont(c
     FcResult result;
         FcFontSet *fs = 0;
         FcPattern *fsp = 0;
+       FcDefaultSubstitute(pattern);
         if( use_fontsort ) {
             fs = FcFontSort(0, pattern, FcFalse, 0, &result);
     if (!fs)