summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/text/qfont_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/text/qfont_p.h b/src/gui/text/qfont_p.h
index 2a37b56d87..ad8ba0758f 100644
--- a/src/gui/text/qfont_p.h
+++ b/src/gui/text/qfont_p.h
@@ -73,7 +73,8 @@ struct QFontDef
: pointSize(-1.0), pixelSize(-1),
styleStrategy(QFont::PreferDefault), styleHint(QFont::AnyStyle),
weight(50), fixedPitch(false), style(QFont::StyleNormal), stretch(100),
- ignorePitch(true), hintingPreference(QFont::PreferDefaultHinting)
+ hintingPreference(QFont::PreferDefaultHinting), ignorePitch(true),
+ fixedPitchComputed(0), reserved(0)
{
}
@@ -93,8 +94,8 @@ struct QFontDef
uint style : 2;
uint stretch : 12; // 0-400
- uint ignorePitch : 1;
uint hintingPreference : 2;
+ uint ignorePitch : 1;
uint fixedPitchComputed : 1; // for Mac OS X only
int reserved : 14; // for future extensions