Changeset 94019 in webkit
- Timestamp:
- Aug 29, 2011, 2:57:09 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/skia/FontSkia.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r94016 r94019 1 2011-08-29 Cary Clark <caryclark@google.com> 2 3 Only enable font smoothing as requested (Skia on Mac) 4 https://bugs.webkit.org/show_bug.cgi?id=67143 5 6 This adjusts LayoutTest pixel output to more closely 7 match other platforms. 8 9 Reviewed by Kenneth Russell. 10 11 No new tests. This platform is not yet enabled. 12 13 * platform/graphics/skia/FontSkia.cpp: 14 (WebCore::setupPaint): 15 LCD text was always enabled to test the code path. With this change, 16 it is only enabled when instructed by the font state. 17 1 18 2011-08-29 Julien Chaffraix <jchaffraix@webkit.org> 2 19 -
trunk/Source/WebCore/platform/graphics/skia/FontSkia.cpp
r93057 r94019 88 88 paint->setTextSkewX(platformData.m_syntheticOblique ? -SK_Scalar1 / 4 : 0); 89 89 paint->setAutohinted(false); // freetype specific 90 paint->setLCDRenderText( true); //font->fontDescription().fontSmoothing() == SubpixelAntialiased);90 paint->setLCDRenderText(font->fontDescription().fontSmoothing() == SubpixelAntialiased); 91 91 } 92 92
Note:
See TracChangeset
for help on using the changeset viewer.