summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2016-04-14 21:22:37 -0700
committerRaph Levien <raph@google.com>2016-04-14 21:22:37 -0700
commit032a35954c6ceb9ab76c728c7638408e0fc07972 (patch)
tree978f473ba5f7f79ced9044fefa34888dd1bca43c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbe67c90f4c2255cab3bc036ecdc8d9636ed5e4b5 (diff)
Don't do layout in hasGlyph for codepoint + vs
In the case where the input is a base codepoint + a variation selector, the code currently checks hasVariationSelector and then does a layout, checking for a single glyph. However, HarfBuzz in some cases will change the VS into a space glyph, so hasGlyph will return false. This patch makes hasGlyph rely entirely on the hasVariationSelector method in the case of a base codepoint + a VS Bug: 27531970 Bug: 28182689 Change-Id: Id190c427149213509f2d779ec1aa330feb4b62d8
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions