Changeset 95070 in webkit
- Timestamp:
- Sep 13, 2011 6:58:25 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95065 r95070 1 2011-09-13 Kenichi Ishibashi <bashi@chromium.org> 2 3 WebFont followed tiny monospace text displays weird 4 https://bugs.webkit.org/show_bug.cgi?id=67996 5 6 Reviewed by Darin Adler. 7 8 This test ensures that webfont followed tiny monospace text is displayed correctly. 9 10 * platform/mac/fast/text/webfont-after-tiny-monospace-text-expected.png: Added. 11 * platform/mac/fast/text/webfont-after-tiny-monospace-text-expected.txt: Added. 12 * platform/mac/fast/text/webfont-after-tiny-monospace-text.html: Added. 13 1 14 2011-09-13 Tom Sepez <tsepez@chromium.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r95065 r95070 1 2011-09-13 Kenichi Ishibashi <bashi@chromium.org> 2 3 WebFont followed tiny monospace text displays weird 4 https://bugs.webkit.org/show_bug.cgi?id=67996 5 6 Reviewed by Darin Adler. 7 8 Always call wkSetCGFontRenderingMode() in Font::drawGlyphs() so that the rendering mode is set correctly. 9 10 Test: platform/mac/fast/text/webfont-after-tiny-monospace-text.html 11 12 * platform/graphics/mac/FontMac.mm: 13 (WebCore::Font::drawGlyphs): 14 1 15 2011-09-13 Tom Sepez <tsepez@chromium.org> 2 16 -
trunk/Source/WebCore/platform/graphics/mac/FontMac.mm
r94897 r95070 209 209 CGContextSetTextMatrix(cgContext, matrix); 210 210 211 if (drawFont) {212 wkSetCGFontRenderingMode(cgContext, drawFont);211 wkSetCGFontRenderingMode(cgContext, drawFont); 212 if (drawFont) 213 213 CGContextSetFontSize(cgContext, 1.0f); 214 }else214 else 215 215 CGContextSetFontSize(cgContext, platformData.m_size); 216 216
Note: See TracChangeset
for help on using the changeset viewer.