Changeset 147623 in webkit
- Timestamp:
- Apr 4, 2013 6:20:17 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147622 r147623 1 2013-04-04 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 3 [Qt] Support -webkit-font-smoothing 4 https://bugs.webkit.org/show_bug.cgi?id=106009 5 6 Reviewed by Jocelyn Turcotte. 7 8 Remove false dependency on Qt 5.1 for the -webkit-font-smoothing property. 9 For now we are still keeping the dependency on Font::shouldUseSmoothing(). 10 11 * platform/graphics/qt/FontPlatformDataQt.cpp: 12 (WebCore::FontPlatformData::FontPlatformData): 13 1 14 2013-04-04 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 15 -
trunk/Source/WebCore/platform/graphics/qt/FontPlatformDataQt.cpp
r147544 r147623 74 74 font.setWordSpacing(wordSpacing); 75 75 font.setLetterSpacing(QFont::AbsoluteSpacing, letterSpacing); 76 if (description.fontSmoothing() == NoSmoothing) 77 font.setStyleStrategy(QFont::NoAntialias); 76 78 #if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) 77 if (description.fontSmoothing() == NoSmoothing 78 || (description.fontSmoothing() == AutoSmoothing && !Font::shouldUseSmoothing())) 79 if (description.fontSmoothing() == AutoSmoothing && !Font::shouldUseSmoothing()) 79 80 font.setStyleStrategy(QFont::NoAntialias); 80 81 #endif
Note: See TracChangeset
for help on using the changeset viewer.