]> git.pld-linux.org Git - packages/qt4.git/blob - qt4-x11_fonts.patch
- rel 5; few more patches from FC; few old FC patches renamed
[packages/qt4.git] / qt4-x11_fonts.patch
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.028135 seconds and 3 git commands to generate.