Searched refs:FontFeature (Results 1 – 11 of 11) sorted by relevance
31 struct FontFeature { struct35 static std::vector<FontFeature> parse(std::string_view fontFeatureString); argument52 inline std::ostream& operator<<(std::ostream& os, const FontFeature& feature) {58 inline std::ostream& operator<<(std::ostream& os, const std::vector<FontFeature>& features) {68 constexpr bool operator==(const FontFeature& l, const FontFeature& r) {72 constexpr bool operator!=(const FontFeature& l, const FontFeature& r) {
29 struct FontFeature;45 std::string toString(const FontFeature& feature);46 std::string toString(const std::vector<FontFeature>& features);
60 inline Hasher& update(const std::vector<FontFeature>& features) { in update()63 for (const FontFeature& feature : features) { in update()69 inline Hasher& update(const FontFeature& feature) { in update()
74 std::vector<FontFeature> fontFeatureSettings;
104 std::vector<FontFeature> mFontFeatureSettings;
58 paint.fontFeatureSettings = FontFeature::parse("\"chws\" off"); in TEST_F()70 paint.fontFeatureSettings = FontFeature::parse("\"ruby\" on"); in TEST_F()100 paint.fontFeatureSettings = FontFeature::parse("\"halt\" on"); in TEST_F()110 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F()121 paint.fontFeatureSettings = FontFeature::parse("\"halt\" on"); in TEST_F()138 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F()163 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F_WITH_FLAGS()171 paint.fontFeatureSettings = FontFeature::parse("\"palt\" on"); in TEST_F_WITH_FLAGS()
249 paint1.fontFeatureSettings = FontFeature::parse(""); in TEST()253 paint2.fontFeatureSettings = FontFeature::parse("'liga' on"); in TEST()
64 paint.fontFeatureSettings = FontFeature::parse(fontFeaturesSettings); in buildLayout()
23 std::vector<FontFeature> FontFeature::parse(std::string_view fontFeatureSettings) { in parse()24 std::vector<FontFeature> features; in parse()60 for (const FontFeature& feature : paint.fontFeatureSettings) { in cleanAndAddDefaultFontFeatures()
83 std::string toString(const FontFeature& feature) { in toString()89 std::string toString(const std::vector<FontFeature>& features) { in toString()
87 mFontFeatureSettings = minikin::FontFeature::parse(fontFeatures); in setFontFeatureSettings()92 const std::vector<minikin::FontFeature>& getFontFeatureSettings() const { in getFontFeatureSettings()181 std::vector<minikin::FontFeature> mFontFeatureSettings;