24 return rFontName.copy(0, nPrefixIdx);
31 if (nPrefixIdx == std::u16string_view::npos)
34 std::u16string_view
sName(rFontName.substr(++nPrefixIdx));
40 sal_Int32 nInnerIdx{ 0 };
41 std::u16string_view sID =
o3tl::getToken(sToken, 0,
'=', nInnerIdx);
59 std::unordered_map<uint32_t, int32_t> aResultMap;
61 aResultMap.emplace(rFeat.m_nTag, rFeat.m_nValue);
std::vector< FeatureSetting > m_aFeatures
FeatureParser(std::u16string_view sFontName)
std::unordered_map< uint32_t, int32_t > getFeaturesMap() const
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)
OString OUStringToOString(std::u16string_view str, ConnectionSettings const *settings)
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
constexpr const char FeaturePrefix
OUString trimFontNameFeatures(OUString const &rFontName)
constexpr const char FeatureSeparator