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-27 00:49:52 +00:00
Родитель a6e5ed4ab7
Коммит 1121f75128
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;