From ccd304b2a6415d8b747d04b3a47736d1e6f45717 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 10 Jan 2025 13:17:31 +0900 Subject: Drop code for obsolete FreeType 1 Signed-off-by: Michele Calgaro --- src/kernel/tqapplication_x11.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/kernel/tqapplication_x11.cpp') diff --git a/src/kernel/tqapplication_x11.cpp b/src/kernel/tqapplication_x11.cpp index f180f8b9a..fedeed789 100644 --- a/src/kernel/tqapplication_x11.cpp +++ b/src/kernel/tqapplication_x11.cpp @@ -2156,12 +2156,7 @@ void tqt_init_internal( int *argcptr, char **argv, #if !defined(TQT_NO_XFTFREETYPE) // defined in tqfont_x11.cpp extern bool tqt_has_xft; -#ifndef QT_XFT2 - if (!tqt_use_xrender) - tqt_has_xft = FALSE; - else -#endif - tqt_has_xft = XftInit(0) && XftInitFtLibrary(); + tqt_has_xft = XftInit(0) && XftInitFtLibrary(); if (tqt_has_xft) { char *dpi_str = XGetDefault(appDpy, "Xft", "dpi"); -- cgit v1.2.1