summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqfont_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqfont_x11.cpp')
-rw-r--r--src/kernel/tqfont_x11.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/kernel/tqfont_x11.cpp b/src/kernel/tqfont_x11.cpp
index 77742a5f0..6f4097029 100644
--- a/src/kernel/tqfont_x11.cpp
+++ b/src/kernel/tqfont_x11.cpp
@@ -393,25 +393,6 @@ void TQFontPrivate::load( TQFont::Script script )
for ( ; it != end; ++it )
subs_list += TQFont::substitutes( *it );
family_list += subs_list;
-
-#ifndef QT_XFT2
- // with Xft2, we want to use fontconfig to determine better fallbacks,
- // otherwise we might run into trouble with default fonts as "serif"
-
- // append the default fallback font for the specified script
- TQString fallback = qt_fallback_font_family( script );
- if ( ! fallback.isEmpty() && ! family_list.contains( fallback ) )
- family_list << fallback;
-
- // add the default family
- TQString defaultFamily = TQApplication::font().family();
- if ( ! family_list.contains( defaultFamily ) )
- family_list << defaultFamily;
-
- // add TQFont::defaultFamily() to the list, for compatibility with
- // previous versions
- family_list << TQApplication::font().defaultFamily();
-#endif // QT_XFT2
}
// null family means find the first font matching the specified script