aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fonts/SkTestSVGTypeface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fonts/SkTestSVGTypeface.cpp')
-rw-r--r--tools/fonts/SkTestSVGTypeface.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/fonts/SkTestSVGTypeface.cpp b/tools/fonts/SkTestSVGTypeface.cpp
index 715a28c5f0..ceb523aa72 100644
--- a/tools/fonts/SkTestSVGTypeface.cpp
+++ b/tools/fonts/SkTestSVGTypeface.cpp
@@ -96,10 +96,6 @@ void SkTestSVGTypeface::getFontMetrics(SkPaint::FontMetrics* metrics) const {
*metrics = fFontMetrics;
}
-void SkTestSVGTypeface::getPath(SkGlyphID glyphID, SkPath* path) const {
- path->reset();
-}
-
void SkTestSVGTypeface::onFilterRec(SkScalerContextRec* rec) const {
rec->setHinting(SkPaint::kNo_Hinting);
}
@@ -244,9 +240,9 @@ protected:
}
}
- void generatePath(SkGlyphID glyph, SkPath* path) override {
- this->geTestSVGTypeface()->getPath(glyph, path);
- path->transform(fMatrix);
+ bool generatePath(SkGlyphID glyph, SkPath* path) override {
+ path->reset();
+ return false;
}
void generateFontMetrics(SkPaint::FontMetrics* metrics) override {