diff options
author | Seigo Nonaka <nona@google.com> | 2020-11-19 19:25:55 -0800 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2020-11-19 19:27:20 -0800 |
commit | 0e287c67b22f6e18bcde797e5c17e6ca46a0d4f0 (patch) | |
tree | 3f6539e5456ef9d9e1500b3f6832d980798acaa3 | |
parent | c5d3c15b06ea8318f2426a6714c179fd7dce935d (diff) | |
download | minikin-0e287c67b22f6e18bcde797e5c17e6ca46a0d4f0.tar.gz |
Expose family list in FontCollection
Bug: 173752727
Test: atest CtsGraphicsTestCases
Test: atest CtsTextTestCases
Test: atest TextViewTests
Test: atest TextViewTest
Test: atest TypefaceSystemFallbackTest
Test: atest TypefaceTest
Change-Id: I4ebb80cf7e1c0924e81ebb2b9c04c0debd25c3ec
-rw-r--r-- | include/minikin/FontCollection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/minikin/FontCollection.h b/include/minikin/FontCollection.h index b6f8790..de18ab5 100644 --- a/include/minikin/FontCollection.h +++ b/include/minikin/FontCollection.h @@ -108,6 +108,8 @@ public: uint32_t getId() const; + const std::vector<std::shared_ptr<FontFamily>>& getFamilies() const { return mFamilies; } + private: FRIEND_TEST(FontCollectionTest, bufferTest); |