Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::FontFeature Struct Reference

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

Detailed Description

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).

Member Function Documentation

◆ operator==()

bool pulp::canvas::FontFeature::operator== ( const FontFeature & other) const
inlineconstexprnoexcept

Member Data Documentation

◆ tag

FontFeatureTag pulp::canvas::FontFeature::tag = 0

◆ value

std::int32_t pulp::canvas::FontFeature::value = 0

The documentation for this struct was generated from the following file: