summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/fontmanager
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-18 11:34:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-18 14:55:12 +0100
commit003c837e9d029a671ea95f76da45573bbc260eea (patch)
treed372f62eab0a7afc9a07122284680be35e3c035b /vcl/unx/generic/fontmanager
parenta4a865a85cfc922e75ed2ad5188e45a76bca92aa (diff)
rename IsStarSymbol to IsOpenSymbol
Change-Id: If525ba9826f5bc2d860233cbabf58d1d290be054 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142936 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic/fontmanager')
-rw-r--r--vcl/unx/generic/fontmanager/fontsubst.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/fontmanager/fontsubst.cxx b/vcl/unx/generic/fontmanager/fontsubst.cxx
index afbe53dd4a81..0f429723b21e 100644
--- a/vcl/unx/generic/fontmanager/fontsubst.cxx
+++ b/vcl/unx/generic/fontmanager/fontsubst.cxx
@@ -101,8 +101,8 @@ bool FcPreMatchSubstitution::FindFontSubstitute(vcl::font::FontSelectPattern &rF
// We don't actually want to talk to Fontconfig at all for symbol fonts
if( rFontSelData.IsSymbolFont() )
return false;
- // StarSymbol is a unicode font, but it still deserves the symbol flag
- if ( IsStarSymbol(rFontSelData.maSearchName) )
+ // OpenSymbol is a unicode font, but it still deserves to be treated as a symbol font
+ if ( IsOpenSymbol(rFontSelData.maSearchName) )
return false;
//see fdo#41556 and fdo#47636
@@ -177,8 +177,8 @@ bool FcGlyphFallbackSubstitution::FindFontSubstitute(vcl::font::FontSelectPatter
// We don't actually want to talk to Fontconfig at all for symbol fonts
if( rFontSelData.IsSymbolFont() )
return false;
- // StarSymbol is a unicode font, but it still deserves the symbol flag
- if ( IsStarSymbol(rFontSelData.maSearchName) )
+ // OpenSymbol is a unicode font, but it still deserves to be treated as a symbol font
+ if ( IsOpenSymbol(rFontSelData.maSearchName) )
return false;
const vcl::font::FontSelectPattern aOut = GetFcSubstitute( rFontSelData, rMissingCodes );