Changeset 147544 in webkit
- Timestamp:
- Apr 3, 2013 5:35:36 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147542 r147544 1 2013-04-03 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 3 [Qt] Monospace font does not render in proper sizes 4 https://bugs.webkit.org/show_bug.cgi?id=93263 5 6 Reviewed by Jocelyn Turcotte. 7 8 Remove this patch's artificial dependency on Qt 5.1. 9 10 * platform/graphics/qt/FontPlatformDataQt.cpp: 11 (WebCore::FontPlatformData::FontPlatformData): 12 1 13 2013-04-03 Takeshi Yoshino <tyoshino@chromium.org> 2 14 -
trunk/Source/WebCore/platform/graphics/qt/FontPlatformDataQt.cpp
r146324 r147544 74 74 font.setWordSpacing(wordSpacing); 75 75 font.setLetterSpacing(QFont::AbsoluteSpacing, letterSpacing); 76 #if QT_VERSION < QT_VERSION_CHECK(5, 1, 0) 77 // To maintain stable baselines for Qt 5.0, keep force integer metrics enabled and ignore font-smoothing setting. 78 font.setStyleStrategy(QFont::ForceIntegerMetrics); 79 #else 76 #if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) 80 77 if (description.fontSmoothing() == NoSmoothing 81 78 || (description.fontSmoothing() == AutoSmoothing && !Font::shouldUseSmoothing()))
Note: See TracChangeset
for help on using the changeset viewer.