Customize SkFontMgr::Factory to control DirectWrite vs. GDI selection
Move SkFontMgr::Factory to skia/ext so that we can use the warmed-up sandbox version when using DirectWrite that's created by content/. This avoids the previous default behaviour of creating a GDI SkFontMgr which is always wrong when DirectWrite is being used (and causes crashes when --enable_win32k_renderer_lockdown is enabled). R=jamesr@chromium.org,bungeman@google.com BUG=385926,356950,385717 TEST=http://www.effectgames.com/demos/canvascycle/ http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_filltext and enabling FPS in about:flags with both --enable_win32k_renderer_lockdown and --disable-direct-write Review URL: https://codereview.chromium.org/344653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278222 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment