Bug 1403259 - TextDrawTarget: fallback on -webrender-text-stroke. r=jrmuizel

MozReview-Commit-ID: 9taTLk0RLQq
This commit is contained in:
Alexis Beingessner
2017-09-26 14:12:12 -04:00
parent 7fcb6ce623
commit e294bce8d0

View File

@@ -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;