Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 962eb3eb authored by Kohsuke Yatoh's avatar Kohsuke Yatoh
Browse files

Implement GetFontPath() in MinikinFontSkia.

Bug: 169871852
Test: m libhwui
Change-Id: I4c01b8cc8bbc3ff197083050e96a4965d7e76ac5
parent f2c9466e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;