diff options
author | Aram So <aram.so@lge.com> | 2016-03-10 10:21:10 +0900 |
---|---|---|
committer | Aram So <aram.so@lge.com> | 2016-03-11 13:17:47 +0000 |
commit | 081e5bf20280a769b1f323a84c072efb25a1de11 (patch) | |
tree | f19bcb8903fc51265bf0163105a09a4b346a19f0 /src/quick/scenegraph/qsgadaptationlayer.cpp | |
parent | f728a514abdf59e2ac556eef027a69d9f21db4b2 (diff) |
Use the QT_DISTANCEFIELD_HIGHGLYPHCOUNT function from qtbase
Change-Id: Ica11d2d6499a8194a65f561d32fafd5b5b34579e
Task-number: QTBUG-51714
Reviewed-by: Aram So <aram.so@lge.com>
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/qsgadaptationlayer.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgadaptationlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgadaptationlayer.cpp b/src/quick/scenegraph/qsgadaptationlayer.cpp index 682423726e..eb6a846a81 100644 --- a/src/quick/scenegraph/qsgadaptationlayer.cpp +++ b/src/quick/scenegraph/qsgadaptationlayer.cpp @@ -65,7 +65,7 @@ QSGDistanceFieldGlyphCache::QSGDistanceFieldGlyphCache(QSGDistanceFieldGlyphCach QRawFontPrivate *fontD = QRawFontPrivate::get(font); m_glyphCount = fontD->fontEngine->glyphCount(); - m_doubleGlyphResolution = qt_fontHasNarrowOutlines(font) && m_glyphCount < QT_DISTANCEFIELD_HIGHGLYPHCOUNT; + m_doubleGlyphResolution = qt_fontHasNarrowOutlines(font) && m_glyphCount < QT_DISTANCEFIELD_HIGHGLYPHCOUNT(); m_referenceFont = font; // we set the same pixel size as used by the distance field internally. |