summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2016-07-11 13:59:58 -0700
committerRaph Levien <raph@google.com>2016-07-13 14:18:49 -0700
commit3f01d81c9d7a5160c054cf1dec623b2bb06ad36d (patch)
tree96ec2b7b948561865910ad6a251ae286685540db /tools/aapt2/java/JavaClassGenerator_test.cpp
parenteb8de2926969c8537f66ccdac5549cc7c0e5bf8c (diff)
Don't count zero width space in hasGlyph layout
For sequences that may form ligatures (ie not just a a base character plus variation selector pair), hasGlyph requests a layout and then counts the glyph. In some cases, when the source string contains a variation selector, the layout contains space glyphs with no associated width, which causes a "false" result. This patch filters out such zero width spaces. Bug: 30056285 Change-Id: I9b5db4aa5ad24bf43e237c98b610fd269f2b91c9 (cherry picked from commit 6141db3846356efbdea093756701c89bd5155421)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions