OpenType feature record: tag + value. More...
#include <font_options.hpp>
Public Member Functions | |
| constexpr bool | operator== (const FontFeature &other) const noexcept |
Public Attributes | |
| FontFeatureTag | tag = 0 |
| std::int32_t | value = 0 |
OpenType feature record: tag + value.
value=0 disables, value>0 enables (most features are boolean; stylistic alternates can use value=N to pick a specific variant).
|
inlineconstexprnoexcept |
| FontFeatureTag pulp::canvas::FontFeature::tag = 0 |
| std::int32_t pulp::canvas::FontFeature::value = 0 |