Use FT_LOAD_BITMAP_METRICS_ONLY flag
authorSeigo Nonaka <nona@google.com>
Sun, 4 Dec 2016 17:41:53 +0000 (02:41 +0900)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 5 Dec 2016 22:39:40 +0000 (22:39 +0000)
commit52ab2f5df17c953dc673954e427fc1aa1a5fe48e
tree38cabd81e4dc45f7ba64d4ff4214be5656f6cb07
parent11970e56c10b49ad06adbe9e835d32c00a63dd7d
Use FT_LOAD_BITMAP_METRICS_ONLY flag

FT_LOAD_BITMAP_METRICS_ONLY flag was introduced for retrieving font
metrics without decoding or allocating bitmaps.

BUG=skia:

Change-Id: I901531501111f24d8b670305379e04c0bc688e6f
Reviewed-on: https://skia-review.googlesource.com/5580
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
src/ports/SkFontHost_FreeType.cpp