From 8d9c9d7f20e621e6e49f9252128ab8a5d890c67d Mon Sep 17 00:00:00 2001 From: Seigo Nonaka Date: Thu, 9 Mar 2017 15:16:16 -0800 Subject: [PATCH] Expose supportedAxes to frameworks/base The list of supportedAxes are necessary for returning value of setFontVariationSettings. Bug: 35764323 Test: ran TextViewTest and PaintTest in cts Change-Id: I52f244146ea0ce335df02c841f89285be2ed746e --- engine/src/flutter/include/minikin/FontCollection.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/src/flutter/include/minikin/FontCollection.h b/engine/src/flutter/include/minikin/FontCollection.h index 2364538799..545d43db80 100644 --- a/engine/src/flutter/include/minikin/FontCollection.h +++ b/engine/src/flutter/include/minikin/FontCollection.h @@ -53,6 +53,10 @@ public: std::shared_ptr createCollectionWithVariation(const std::vector& variations); + const std::unordered_set& getSupportedTags() const { + return mSupportedAxes; + } + uint32_t getId() const; private: