Implement GetFontPath() in MinikinFontSkia.

Bug: 169871852
Test: m libhwui
Change-Id: I4c01b8cc8bbc3ff197083050e96a4965d7e76ac5
This commit is contained in:
Kohsuke Yatoh
2020-10-01 23:08:12 -07:00
parent f2c9466eaa
commit 962eb3eb08

View File

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