Merge "Implement GetFontPath() in MinikinFontSkia."

This commit is contained in:
TreeHugger Robot
2020-10-02 09:49:07 +00:00
committed by Android (Google) Code Review

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;