commit | acb4b0f474c10c1553bef45292a26cac2b6e556e | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Aug 30 12:09:37 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Aug 30 20:51:02 2018 +0000 |
tree | ed7f897c4d4da9c8806f5aaa4732cb96ebb2f648 | |
parent | 92e4c7fded31e745136b9bd96e8e5b83c7919c2c [diff] |
Detect when a FreeType glyph doesn't have a path. It appears that the way to check a glyph doesn't have a path is to load the glyph with the FT_LOAD_NO_BITMAP load flag and then check if the glyph format is FT_GLYPH_FORMAT_BITMAP, meaning that no outline was available. Change-Id: Ie19fc7005115f4c4f6072a7be0e93576f8db5877 Bug: skia:7878 Reviewed-on: https://skia-review.googlesource.com/150467 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>