Changeset 83329 in webkit
- Timestamp:
- Apr 8, 2011 1:08:01 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83322 r83329 1 2011-04-08 Mike Reed <reed@google.com> 2 3 Reviewed by Eric Seidel. 4 5 Replace SKIA_TEXT with isNativeFontRenderingAllowed() for print-preview to work 6 https://bugs.webkit.org/show_bug.cgi?id=57782 7 8 No new tests. This change only affects print-preview and build option SKIA_GPU 9 10 * platform/graphics/skia/SkiaFontWin.cpp: 11 (WebCore::paintSkiaText): 12 1 13 2011-04-08 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Source/WebCore/platform/graphics/skia/SkiaFontWin.cpp
r82532 r83329 378 378 platformContext->setupPaintForStroking(&paint, 0, 0); 379 379 paint.setFlags(SkPaint::kAntiAlias_Flag); 380 #if ENABLE(SKIA_TEXT) 381 paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);382 setupPaintForFont(hfont, &paint);383 #endif 380 if (!platformContext->isNativeFontRenderingAllowed()) { 381 paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); 382 setupPaintForFont(hfont, &paint); 383 } 384 384 385 385 if (didFill) {
Note: See TracChangeset
for help on using the changeset viewer.