summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/fontsubset/sft.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index 93c09b31f0c5..710172fbd8de 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -1299,8 +1299,10 @@ SFErrCodes AbstractTrueTypeFont::indexGlyphData()
if (!m_xCharMap.is())
{
table = this->table(O_cmap, table_size);
- m_bIsSymbolFont = HasSymbolCmap(reinterpret_cast<const unsigned char*>(table), table_size);
+ m_bIsSymbolFont = HasSymbolCmap(table, table_size);
}
+ else
+ m_bIsSymbolFont = m_xCharMap->isSymbolic();
return SFErrCodes::Ok;
}