diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-05-19 09:38:58 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-05-19 09:43:46 (GMT) |
commit | 8cbf269e14b372ee3174c2706dd0cc4df37eef1a (patch) | |
tree | a4266dcef8cf29cec50b662fb9416575d10e812a /src/gui/text/qfontengine_p.h | |
parent | 28b894f65c5aba01d5ee80c20f617478faaee7e7 (diff) | |
download | Qt-8cbf269e14b372ee3174c2706dd0cc4df37eef1a.zip Qt-8cbf269e14b372ee3174c2706dd0cc4df37eef1a.tar.gz Qt-8cbf269e14b372ee3174c2706dd0cc4df37eef1a.tar.bz2 |
Fix platform regression: Support QFont::setStretch() on Cocoa
QFont::setStretch() would previously have no effect on Mac OS X/Cocoa.
Task-number: QTBUG-10585
Reviewed-by: Eskil
Done-by: Andy
Diffstat (limited to 'src/gui/text/qfontengine_p.h')
-rw-r--r-- | src/gui/text/qfontengine_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index e645caf..922acfb 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -462,6 +462,7 @@ private: CGFontRef cgFont; QCoreTextFontEngineMulti *parentEngine; int synthesisFlags; + CGAffineTransform transform; friend class QCoreTextFontEngineMulti; }; @@ -493,7 +494,7 @@ private: uint fontIndexForFont(CTFontRef id) const; CTFontRef ctfont; mutable QCFType<CFMutableDictionaryRef> attributeDict; - + CGAffineTransform transform; friend class QFontDialogPrivate; }; # endif //MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 |