diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/fontdefs.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/unotools/fontdefs.hxx b/include/unotools/fontdefs.hxx index 7ac715eb829b..e0601063ac4b 100644 --- a/include/unotools/fontdefs.hxx +++ b/include/unotools/fontdefs.hxx @@ -83,6 +83,15 @@ UNOTOOLS_DLLPUBLIC OUString GetNextFontToken( const OUString& rTokenStr, sal_Int UNOTOOLS_DLLPUBLIC OUString GetEnglishSearchFontName( const OUString& rName ); +/** Strip any "script font suffix" from the font name + + Related: fdo#49271 RTF files often contain weird-ass + Win 3.1/Win95 style fontnames which attempt to put the + charset encoding into the filename + http://www.webcenter.ru/~kazarn/eng/fonts_ttf.htm +*/ +UNOTOOLS_DLLPUBLIC OUString StripScriptFromName(const OUString& rName); + /** Determine if the font is the special Star|Open Symbol font @param rFontName |