mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 06:22:33 +00:00
bug 833297 - ensure graphite shaper does not overwrite cluster information. r=jdaggett
This commit is contained in:
parent
f752845e1e
commit
d66002cc36
@ -343,6 +343,7 @@ gfxGraphiteShaper::SetGlyphsFromSegment(gfxContext *aContext,
|
||||
if (c.nGlyphs == 1 &&
|
||||
gfxShapedText::CompressedGlyph::IsSimpleGlyphID(gids[c.baseGlyph]) &&
|
||||
gfxShapedText::CompressedGlyph::IsSimpleAdvance(appAdvance) &&
|
||||
charGlyphs[offs].IsClusterStart() &&
|
||||
yLocs[c.baseGlyph] == 0)
|
||||
{
|
||||
charGlyphs[offs].SetSimpleGlyph(appAdvance, gids[c.baseGlyph]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user