Improve SkScalerContext_GDI::generateCharToGlyph for non-BMP code points.
authorbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 8 Oct 2013 21:32:15 +0000 (21:32 +0000)
committerbungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 8 Oct 2013 21:32:15 +0000 (21:32 +0000)
commit27f74aab32123e6f021359061149966fa4ca5a62
treee476980413334a20b11a389ea2717553f8f5a854
parentdac4a1d518a4788c3e2475d68cbe8683b4a448ff
Improve SkScalerContext_GDI::generateCharToGlyph for non-BMP code points.

Sometimes, when ScriptShape is presented with a surrogate pair which does
not map to a glyph, it returns two space glyphs instead of .notdef (0).
Detect this class of issues and handle appropriately.

git-svn-id: http://skia.googlecode.com/svn/trunk@11660 2bbb7eff-a529-9590-31e7-b0007b416f81
include/utils/win/SkHRESULT.h
src/ports/SkFontHost_win.cpp