зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1403259 - TextDrawTarget: fallback on -webrender-text-stroke. r=jrmuizel
MozReview-Commit-ID: 9taTLk0RLQq --HG-- extra : rebase_source : 2c70334438ba9f59d030096656970362cbf0a7a2
This commit is contained in:
Родитель
d30d68e5f8
Коммит
cece98d71c
|
@ -7262,6 +7262,10 @@ DrawTextRun(const gfxTextRun* aTextRun,
|
|||
|
||||
if ((NS_GET_A(aParams.textStrokeColor) != 0 || textDrawer) &&
|
||||
aParams.textStrokeWidth != 0.0f) {
|
||||
if (textDrawer) {
|
||||
textDrawer->FoundUnsupportedFeature();
|
||||
return;
|
||||
}
|
||||
StrokeOptions strokeOpts;
|
||||
params.drawMode |= DrawMode::GLYPH_STROKE;
|
||||
params.textStrokeColor = aParams.textStrokeColor;
|
||||
|
|
Загрузка…
Ссылка в новой задаче