зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a6e5ed4ab7
Коммит
1121f75128
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче