diff options
| author | 2020-10-02 09:49:07 +0000 | |
|---|---|---|
| committer | 2020-10-02 09:49:07 +0000 | |
| commit | bf6a4487687ae01da9c148e35ff3bc3de60ce7e0 (patch) | |
| tree | dbade3a79e7a5bd3eedfa81cfb8f45286ea3a865 | |
| parent | a6382dddd65edadd45bceaf5db3dd44ec57419b5 (diff) | |
| parent | 962eb3eb0870237ec815ec5f94a441ac8bfdaa67 (diff) | |
Merge "Implement GetFontPath() in MinikinFontSkia."
| -rw-r--r-- | libs/hwui/hwui/MinikinSkia.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/hwui/MinikinSkia.h b/libs/hwui/hwui/MinikinSkia.h index 298967689cd9..77a21428f36a 100644 --- a/libs/hwui/hwui/MinikinSkia.h +++ b/libs/hwui/hwui/MinikinSkia.h @@ -49,6 +49,8 @@ public: void GetFontExtent(minikin::MinikinExtent* extent, const minikin::MinikinPaint& paint, const minikin::FontFakery& fakery) const override; + const std::string& GetFontPath() const override { return mFilePath; } + SkTypeface* GetSkTypeface() const; sk_sp<SkTypeface> RefSkTypeface() const; |