Bug 1576553 - Partial ligatures need to be drawn if either GLYPH_FILL or GLYPH_STROKE is in effect. r=heycam

Differential Revision: https://phabricator.services.mozilla.com/D43409

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jonathan Kew 2019-08-26 23:05:45 +00:00
Родитель ac5564a095
Коммит a358049095
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -631,7 +631,7 @@ void gfxTextRun::Draw(Range aRange, gfx::Point aPt,
ShrinkToLigatureBoundaries(&ligatureRange);
bool drawPartial =
(aParams.drawMode & DrawMode::GLYPH_FILL) ||
(aParams.drawMode & (DrawMode::GLYPH_FILL | DrawMode::GLYPH_STROKE)) ||
(aParams.drawMode == DrawMode::GLYPH_PATH && aParams.callbacks);
gfx::Point origPt = aPt;