diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-10 13:17:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-10 13:17:31 +0900 |
commit | ccd304b2a6415d8b747d04b3a47736d1e6f45717 (patch) | |
tree | b527d8b4ad438ebb1a96699d409e1cd5b9b368ea /src/kernel/tqfontdatabase.cpp | |
parent | 2b0ea37581b2fa4eba2b353d45dc134fbafe0b0f (diff) | |
download | tqt-ccd304b2a6415d8b747d04b3a47736d1e6f45717.tar.gz tqt-ccd304b2a6415d8b747d04b3a47736d1e6f45717.zip |
Drop code for obsolete FreeType 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/tqfontdatabase.cpp')
-rw-r--r-- | src/kernel/tqfontdatabase.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/tqfontdatabase.cpp b/src/kernel/tqfontdatabase.cpp index 5413f2db4..bda119a03 100644 --- a/src/kernel/tqfontdatabase.cpp +++ b/src/kernel/tqfontdatabase.cpp @@ -996,7 +996,6 @@ TQFontDatabase::findFont( TQFont::Script script, const TQFontPrivate *fp, request.weight, request.italic, request.stretch, request.pixelSize, pitch ); bool usesFontConfig = FALSE; -#ifdef QT_XFT2 if (family_name.isEmpty() || family_name == "Sans Serif" || family_name == "Serif" @@ -1005,7 +1004,6 @@ TQFontDatabase::findFont( TQFont::Script script, const TQFontPrivate *fp, usesFontConfig = (fe != 0); } if (!fe) -#endif { TQtFontFamily *best_family = 0; TQtFontFoundry *best_foundry = 0; @@ -1065,11 +1063,9 @@ TQFontDatabase::findFont( TQFont::Script script, const TQFontPrivate *fp, } else if (try_family->scripts[TQFont::UnknownScript] & TQtFontFamily::Supported) { // try with the unknown script (for a symbol font) override_script = TQFont::UnknownScript; -#ifndef QT_XFT2 } else if (try_family->scripts[TQFont::Unicode] & TQtFontFamily::Supported) { // try with the unicode script instead override_script = TQFont::Unicode; -#endif } else { // family not supported by unicode/unknown scripts continue; |