]> git.pld-linux.org Git - packages/qt4.git/blame - qt4-x11_fonts.patch
rebuild with openssl 3.0.0
[packages/qt4.git] / qt4-x11_fonts.patch
CommitLineData
9685b67d
KK
1--- qt-x11-opensource-src-4.1.0/src/gui/text/qfontdatabase_x11.cpp.old 2006-02-18 20:23:36.000000000 +0100
2+++ qt-x11-opensource-src-4.1.0/src/gui/text/qfontdatabase_x11.cpp 2006-02-19 03:37:14.000000000 +0100
3@@ -1120,7 +1120,7 @@
4 };
5 const FcDefaultFont defaults[] = {
6 { "Serif", "serif", false },
7- { "Sans Serif", "sans-serif", false },
8+ { "Sans", "sans-serif", false },
9 { "Monospace", "monospace", true },
10 { 0, 0, false }
11 };
12@@ -1149,6 +1149,8 @@
13 style->smoothScalable = true;
14 QtFontSize *size = style->pixelSize(SMOOTH_SCALABLE, true);
15 QtFontEncoding *enc = size->encodingID(-1, 0, 0, 0, 0, true);
16+ if (f->qtname == "Monospace")
17+ family->fixedPitch = TRUE;
18 enc->pitch = (f->fixed ? 'm' : 'p');
19 }
20 ++f;
This page took 0.101704 seconds and 4 git commands to generate.