diff options
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontsubst.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/print/genpspgraphics.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/fontmanager/fontsubst.cxx b/vcl/unx/generic/fontmanager/fontsubst.cxx index 0f429723b21e..d4fae2f79085 100644 --- a/vcl/unx/generic/fontmanager/fontsubst.cxx +++ b/vcl/unx/generic/fontmanager/fontsubst.cxx @@ -99,7 +99,7 @@ namespace bool FcPreMatchSubstitution::FindFontSubstitute(vcl::font::FontSelectPattern &rFontSelData) const { // We don't actually want to talk to Fontconfig at all for symbol fonts - if( rFontSelData.IsSymbolFont() ) + if( rFontSelData.IsMicrosoftSymbolEncoded() ) return false; // OpenSymbol is a unicode font, but it still deserves to be treated as a symbol font if ( IsOpenSymbol(rFontSelData.maSearchName) ) @@ -175,7 +175,7 @@ bool FcGlyphFallbackSubstitution::FindFontSubstitute(vcl::font::FontSelectPatter OUString& rMissingCodes ) const { // We don't actually want to talk to Fontconfig at all for symbol fonts - if( rFontSelData.IsSymbolFont() ) + if( rFontSelData.IsMicrosoftSymbolEncoded() ) return false; // OpenSymbol is a unicode font, but it still deserves to be treated as a symbol font if ( IsOpenSymbol(rFontSelData.maSearchName) ) diff --git a/vcl/unx/generic/print/genpspgraphics.cxx b/vcl/unx/generic/print/genpspgraphics.cxx index 29049cb44d69..54496bff8d6c 100644 --- a/vcl/unx/generic/print/genpspgraphics.cxx +++ b/vcl/unx/generic/print/genpspgraphics.cxx @@ -309,7 +309,7 @@ FontAttributes GenPspGraphics::Info2FontAttributes( const psp::FastPrintFontInfo aDFA.SetItalic( rInfo.m_eItalic ); aDFA.SetWidthType( rInfo.m_eWidth ); aDFA.SetPitch( rInfo.m_ePitch ); - aDFA.SetSymbolFlag( rInfo.m_aEncoding == RTL_TEXTENCODING_SYMBOL ); + aDFA.SetMicrosoftSymbolEncoded( rInfo.m_aEncoding == RTL_TEXTENCODING_SYMBOL ); aDFA.SetQuality(512); // add font family name aliases |