diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-19 10:08:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-21 09:55:53 +0100 |
commit | 7017ae2fd7161ee9ed07095f56dd3da9eb9e6b10 (patch) | |
tree | 51ca9d9832015b9d181f040e4cba6e4d1a724ff8 /vcl/quartz | |
parent | 5a35ca12d98d7ad0bfc012d75d00f9eefb4ec078 (diff) |
IsSymbolFont means that its a Windows Symbol Encoding
so kCTFontSymbolicClass doesn't fulfil that meaning, if we want
something more generic to indicate that a font is only useful
for "icons, dingbats, technical symbols, and so on." then we need
a different thing. Its baked in everywhere else that a "SymbolFont"
uses RTL_TEXTENCODING_SYMBOL.
Change-Id: Ie99b5068077dd385dec26f62e2e991e8381128d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142961
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 89460c3943a1..93a862653b74 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -379,8 +379,6 @@ FontAttributes DevFontFromCTFontDescriptor( CTFontDescriptorRef pFD, bool* bFont if( CFDictionaryGetValueIfPresent( pAttrDict, kCTFontSymbolicTrait, reinterpret_cast<const void**>(&pSymbolNum) ) ) { CFNumberGetValue( pSymbolNum, kCFNumberSInt64Type, &nSymbolTrait ); - rDFA.SetSymbolFlag( (nSymbolTrait & kCTFontClassMaskTrait) == kCTFontSymbolicClass ); - if (nSymbolTrait & kCTFontMonoSpaceTrait) rDFA.SetPitch(PITCH_FIXED); } |