diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-20 20:49:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-21 11:36:53 +0100 |
commit | 2adaac8bf01a6caffd0eedb9f456eeadc43f1759 (patch) | |
tree | e25a61c40e3b0ecd4cbe7a576c6e4509908f80e2 /vcl/source/fontsubset | |
parent | 0f8262d34ba7130a8bd8907bc85e9f42fecafd51 (diff) |
be more specific on what "Symbol" is
Change-Id: Icd08628848cce74407552f57660d75b1ac9816bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143009
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/fontsubset')
-rw-r--r-- | vcl/source/fontsubset/sft.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 9a9d5fc34a96..b0518a01415b 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -1185,7 +1185,7 @@ AbstractTrueTypeFont::AbstractTrueTypeFont(const char* pFileName, const FontChar , m_nVertMetrics(0) , m_nUnitsPerEm(0) , m_xCharMap(xCharMap) - , m_bIsSymbolFont(false) + , m_bMicrosoftSymbolEncoded(false) { if (pFileName) m_sFileName = pFileName; @@ -1287,10 +1287,10 @@ SFErrCodes AbstractTrueTypeFont::indexGlyphData() if (!m_xCharMap.is()) { table = this->table(O_cmap, table_size); - m_bIsSymbolFont = HasSymbolCmap(table, table_size); + m_bMicrosoftSymbolEncoded = HasMicrosoftSymbolCmap(table, table_size); } else - m_bIsSymbolFont = m_xCharMap->isSymbolic(); + m_bMicrosoftSymbolEncoded = m_xCharMap->isMicrosoftSymbolMap(); return SFErrCodes::Ok; } @@ -2204,7 +2204,7 @@ void GetTTGlobalFontInfo(AbstractTrueTypeFont *ttf, TTGlobalFontInfo *info) info->subfamily = ttf->subfamily; info->usubfamily = ttf->usubfamily; info->psname = ttf->psname; - info->symbolEncoded = ttf->IsSymbolFont(); + info->microsoftSymbolEncoded = ttf->IsMicrosoftSymbolEncoded(); sal_uInt32 table_size; const sal_uInt8* table = ttf->table(O_OS2, table_size); |