Add cmap 3,0 (symbol) as Unicode fallback.
authorbungeman <bungeman@google.com>
Fri, 5 Jun 2015 20:38:12 +0000 (13:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Jun 2015 20:38:12 +0000 (13:38 -0700)
commit726cf9038aae3f4dffc79a97645388f32224b22d
treeb6155612043826ad951a7d7a64e0119e9787a692
parentf0df189aa204ac54ca431ea9dd287ac0068ea809
Add cmap 3,0 (symbol) as Unicode fallback.

FreeType automatically selects the 'most Unicode' cmap available,
otherwise the default cmap is NULL. When this happens the fallback
should include the 3,0 symbol cmap, as is outlined in the Apple
TrueType documentation. This cmap should effectively be a Unicode
mapping, but exclusively in the private use area.

BUG=skia:1873,chromium:489452

Review URL: https://codereview.chromium.org/1163833003
resources/fonts/SpiderSymbol.ttf [new file with mode: 0644]
src/ports/SkFontHost_FreeType.cpp
tests/FontHostTest.cpp