12#include <font/OpenTypeFeatureStrings.hrc>
14#include <rtl/character.hxx>
133 OUString sNumericPart = OUStringChar(
char((rFeature.
m_nCode >> 8) & 0xFF))
134 + OUStringChar(
char((rFeature.
m_nCode >> 0) & 0xFF));
136 aFeatureDefinition = { rFeature.
m_nCode, STR_FONT_FEATURE_ID_CVXX, sNumericPart };
138 aFeatureDefinition = { rFeature.
m_nCode, STR_FONT_FEATURE_ID_SSXX, sNumericPart };
139 return aFeatureDefinition;
142 auto nFeatureCode = rFeature.
m_nCode;
std::unordered_map< sal_uInt32, size_t > m_aCodeToIndex
OpenTypeFeatureDefinitionListPrivate()
std::vector< FeatureDefinition > m_aFeatureDefinition
bool isRequired(sal_uInt32 nFeatureCode)
std::vector< sal_uInt32 > m_aRequiredFeatures
FeatureDefinition getDefinition(vcl::font::Feature &rFeature)
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
constexpr uint32_t featureCode(const char sFeature[4])
OpenTypeFeatureDefinitionListPrivate & OpenTypeFeatureDefinitionList()
bool isCharacterVariant() const
bool isStylisticSet() const