X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fweb%2Fwin%2FWebFontRendering.cpp;h=f5a02fd4c0748cf414c60ba942c82813671bd17f;hb=refs%2Fchanges%2F42%2F22542%2F1;hp=a171a4127b564b35b6a4348544c99eb5432171ad;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/web/win/WebFontRendering.cpp b/src/third_party/WebKit/Source/web/win/WebFontRendering.cpp index a171a41..f5a02fd 100644 --- a/src/third_party/WebKit/Source/web/win/WebFontRendering.cpp +++ b/src/third_party/WebKit/Source/web/win/WebFontRendering.cpp @@ -16,9 +16,21 @@ void WebFontRendering::setUseDirectWrite(bool useDirectWrite) } // static +void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory) +{ + WebCore::FontCache::setDirectWriteFactory(factory); +} + +// static void WebFontRendering::setUseSubpixelPositioning(bool useSubpixelPositioning) { WebCore::FontCache::setUseSubpixelPositioning(useSubpixelPositioning); } +// static +void WebFontRendering::addSideloadedFontForTesting(SkTypeface* typeface) +{ + WebCore::FontCache::addSideloadedFontForTesting(typeface); +} + } // namespace blink