Handle the glyph too big path fallback
BUG=chromium:876767 Change-Id: I06ea46c14e602b966600abaed3e6c059e40539f8 Reviewed-on: https://skia-review.googlesource.com/149821 Commit-Queue: Khusal Sagar <khushalsagar@chromium.org> Reviewed-by: Khusal Sagar <khushalsagar@chromium.org>
This commit is contained in:
parent
f125111ca7
commit
d4255ed037
@ -283,10 +283,8 @@ void SkTextBlobCacheDiffCanvas::TrackLayerDevice::processGlyphRunForMask(
|
|||||||
glyphCacheState->addGlyph(glyph.getPackedID(), false);
|
glyphCacheState->addGlyph(glyph.getPackedID(), false);
|
||||||
};
|
};
|
||||||
|
|
||||||
auto perPath = [](const SkGlyph& glyph, SkPoint position) {};
|
|
||||||
|
|
||||||
fPainter.drawGlyphRunAsBMPWithPathFallback(
|
fPainter.drawGlyphRunAsBMPWithPathFallback(
|
||||||
glyphCacheState, glyphRun, origin, runMatrix, perGlyph, perPath);
|
glyphCacheState, glyphRun, origin, runMatrix, perGlyph, perGlyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SkTextBlobCacheDiffCanvas::TrackLayerDevice::processGlyphRunForPaths(
|
void SkTextBlobCacheDiffCanvas::TrackLayerDevice::processGlyphRunForPaths(
|
||||||
|
Loading…
Reference in New Issue
Block a user