Simplify embeddability test.
authorbungeman <bungeman@google.com>
Fri, 19 Aug 2016 15:45:37 +0000 (08:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 19 Aug 2016 15:45:37 +0000 (08:45 -0700)
commit01a16992cc9297d4985dc80e3177cc7475b9b385
tree0073a83f2e60a4d960d05fc5146e3d5d05f393c2
parent9da5a5a198e5dc9148f7f30a6089377590eee55b
Simplify embeddability test.

There is no reason to read the whole OS/2 table, and no need to spell
out the full names of all the types over and over.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2256783002

Review-Url: https://codereview.chromium.org/2256783002
src/core/SkTypeface.cpp
src/sfnt/SkOTTable_OS_2.h