Changeset 98692 in webkit
- Timestamp:
- Oct 27, 2011, 10:37:32 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/chromium/FontChromiumWin.cpp (modified) (1 diff)
-
platform/graphics/skia/SkiaFontWin.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r98690 r98692 1 2011-10-27 Arthur Hsu <arthurhsu@chromium.org> 2 3 Reland patch ensure font load before calling Skia during printing 4 https://bugs.webkit.org/show_bug.cgi?id=70390 5 6 Reviewed by James Robinson. 7 8 * platform/graphics/chromium/FontChromiumWin.cpp: 9 (WebCore::Font::drawGlyphs): 10 * platform/graphics/skia/SkiaFontWin.cpp: 11 (WebCore::paintSkiaText): 12 1 13 2011-10-27 Adam Barth <abarth@webkit.org> 2 14 -
trunk/Source/WebCore/platform/graphics/chromium/FontChromiumWin.cpp
r98645 r98692 396 396 397 397 HFONT hfont = font->platformData().hfont(); 398 PlatformSupport::ensureFontLoaded(hfont);399 398 400 399 // We draw the glyphs in chunks to avoid having to do a heap allocation for -
trunk/Source/WebCore/platform/graphics/skia/SkiaFontWin.cpp
r98645 r98692 34 34 #include "AffineTransform.h" 35 35 #include "PlatformContextSkia.h" 36 #include "PlatformSupport.h" 36 37 #include "Gradient.h" 37 38 #include "Pattern.h" 38 39 #include "SkCanvas.h" 40 #include "SkDevice.h" 39 41 #include "SkPaint.h" 40 42 #include "SkShader.h" … … 237 239 SkCanvas* canvas = platformContext->canvas(); 238 240 TextDrawingModeFlags textMode = platformContext->getTextDrawingMode(); 241 // Ensure font load for printing, because PDF device needs it. 242 if (canvas->getTopDevice()->getDeviceCapabilities() & SkDevice::kVector_Capability) 243 PlatformSupport::ensureFontLoaded(hfont); 239 244 240 245 // Filling (if necessary). This is the common case.
Note:
See TracChangeset
for help on using the changeset viewer.