summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2015-04-01 14:41:21 -0700
committerRaph Levien <raph@google.com>2015-04-02 23:14:58 +0000
commitf7f969e67e9ab420404807b1b103dcd18d7aa7b7 (patch)
tree535aec6e14f2ddfecf19311145c123581a7cebc0 /tools/aapt2/java/JavaClassGenerator.cpp
parent78c926c9a3ee2a513bff08ca3e6276eafeebc531 (diff)
Add Paint.hasGlyph method
This patch adds a method to determine whether a typeface has a glyph to support a particular Unicode character or sequence. The implementation is based on shaping the text and checking for the presence of .notdef glyphs, and counting the number of glyphs in the ligature case. In the case of variation selector control characters, it currently just returns false because there is no variation selector support yet (Mongolian Free Variation Selectors work because they're shaped with GSUB instead). Change-Id: I8ee4ae0d6e81a0ac57f961eb02dcc35aabd87042
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions