32 const OUString& rSubstFontName,
41 std::u16string_view rSearchName)
const
44 std::vector<FontSubstEntry>::const_iterator it = std::find_if(
46 return (s.mnFlags & AddFontSubstituteFlags::ALWAYS) && (s.maSearchName == rSearchName);
50 rSubstName = it->maSearchReplaceName;
60 OUString aSubstFontName;
65 rFontName = aSubstFontName;
DirectFontSubstitution is for Tools->Options->FontReplacement and PsPrinter substitutions The class i...
void RemoveFontsSubstitute()
void AddFontSubstitute(const OUString &rFontName, const OUString &rSubstName, AddFontSubstituteFlags nFlags)
std::vector< FontSubstEntry > maFontSubstList
bool FindFontSubstitute(OUString &rSubstName, std::u16string_view rFontName) const
UNOTOOLS_DLLPUBLIC OUString GetEnglishSearchFontName(std::u16string_view rName)
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
void ImplFontSubstitute(OUString &rFontName)
vcl::font::DirectFontSubstitution * mpDirectFontSubst
ImplSVData * ImplGetSVData()