16 text_phrasing_mask phrasing_mask = {};
17 iso_639 language = {};
18 iso_15924 script = {};
19 iso_3166 country = {};
20 font_family_id family_id = {};
21 font_variant variant = {};
30 [[nodiscard]]
constexpr friend bool operator==(
text_style const&,
text_style const&)
noexcept =
default;
33 text_phrasing_mask phrasing_mask,
37 font_family_id family_id,
41 phrasing_mask(phrasing_mask),
52 [[nodiscard]]
constexpr friend bool
53 matches(
text_style const& lhs, text_phrasing phrasing, iso_639 language, iso_3166 country, iso_15924 script)
noexcept
55 return matches(lhs.phrasing_mask, phrasing) and matches(lhs.language, language) and
56 matches(lhs.country, country) and matches(lhs.script, script);