libqt3/libqt-3.3.5-MAXFONTSIZE_XFT.patch

13 lines
739 B
Diff

diff -Nru qt-x11-free-3.3.5.orig/src/kernel/qfontdatabase_x11.cpp qt-x11-free-3.3.5/src/kernel/qfontdatabase_x11.cpp
--- qt-x11-free-3.3.5.orig/src/kernel/qfontdatabase_x11.cpp 2005-09-02 14:43:01.000000000 +0200
+++ qt-x11-free-3.3.5/src/kernel/qfontdatabase_x11.cpp 2006-05-15 22:20:46.000000000 +0200
@@ -1406,7 +1406,7 @@
// --------------------------------------------------------------------------------------
// font loader
// --------------------------------------------------------------------------------------
-#define MAXFONTSIZE_XFT 256
+#define MAXFONTSIZE_XFT 2048
#define MAXFONTSIZE_XLFD 128
#ifndef QT_NO_XFTFREETYPE
static double addPatternProps(XftPattern *pattern, const QtFontStyle::Key &key, bool fakeOblique,