diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-06 14:31:33 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-06 14:31:33 +0200 |
commit | 8032d6f4ced50837e126f28c1475ad89eaf91ad7 (patch) | |
tree | 342ed870119d9a170d1784b18e4f9d8fb2c98f82 /src/gui/text/qfontengine_coretext_p.h | |
parent | d2303b008e86f36a34eed2b6f0ea79ce41b5e1b3 (diff) |
Remove some metrics parsing code from Core Text
The respective value in some of the default fonts like Lucida Grande
are simply not reliable. It seems that the only reliable way to get
such information is by going through all the glyphs.
It seems that these code are not well tested on Mac and should be
removed for now since it caused visible regressions in QLineEdit
rendering.
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qfontengine_coretext_p.h')
-rw-r--r-- | src/gui/text/qfontengine_coretext_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/text/qfontengine_coretext_p.h b/src/gui/text/qfontengine_coretext_p.h index 3ca8a0ad60..efe8295b20 100644 --- a/src/gui/text/qfontengine_coretext_p.h +++ b/src/gui/text/qfontengine_coretext_p.h @@ -103,9 +103,6 @@ private: int synthesisFlags; CGAffineTransform transform; QFixed avgCharWidth; - qreal ctMaxCharWidth; - qreal ctMinLeftBearing; - qreal ctMinRightBearing; friend class QCoreTextFontEngineMulti; }; |