Bug 1403259 - TextDrawTarget: fallback on -webrender-text-stroke. r=jrmuizel
MozReview-Commit-ID: 9taTLk0RLQq
This commit is contained in:
@@ -7262,6 +7262,10 @@ DrawTextRun(const gfxTextRun* aTextRun,
|
|||||||
|
|
||||||
if ((NS_GET_A(aParams.textStrokeColor) != 0 || textDrawer) &&
|
if ((NS_GET_A(aParams.textStrokeColor) != 0 || textDrawer) &&
|
||||||
aParams.textStrokeWidth != 0.0f) {
|
aParams.textStrokeWidth != 0.0f) {
|
||||||
|
if (textDrawer) {
|
||||||
|
textDrawer->FoundUnsupportedFeature();
|
||||||
|
return;
|
||||||
|
}
|
||||||
StrokeOptions strokeOpts;
|
StrokeOptions strokeOpts;
|
||||||
params.drawMode |= DrawMode::GLYPH_STROKE;
|
params.drawMode |= DrawMode::GLYPH_STROKE;
|
||||||
params.textStrokeColor = aParams.textStrokeColor;
|
params.textStrokeColor = aParams.textStrokeColor;
|
||||||
|
|||||||
Reference in New Issue
Block a user