summaryrefslogtreecommitdiff
path: root/vcl/source/font
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-18 12:42:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-21 09:55:06 +0100
commit2df9b7cd3fa03077c9809dab9b94a20dd89002fb (patch)
tree86165e9f42d9ad8f1c51dca9c4f6b938ca6d0258 /vcl/source/font
parent1b031eb1ba6c529ce67ff8f471afee414d64a098 (diff)
stop setting OpenSymbol as a "Symbol" font
which has a specific meaning of a Windows Symbol encoding Change-Id: I6e5d079303fccfabc8204fc0dbae0870efb839a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142947 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/font')
-rw-r--r--vcl/source/font/PhysicalFontFace.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/font/PhysicalFontFace.cxx b/vcl/source/font/PhysicalFontFace.cxx
index cf9849162d15..cd4254d131db 100644
--- a/vcl/source/font/PhysicalFontFace.cxx
+++ b/vcl/source/font/PhysicalFontFace.cxx
@@ -45,10 +45,6 @@ PhysicalFontFace::PhysicalFontFace(const FontAttributes& rDFA)
, mpHbFace(nullptr)
, mpHbUnscaledFont(nullptr)
{
- // OpenSymbol is a unicode font, but it still deserves the symbol flag
- if (!IsSymbolFont())
- if (IsOpenSymbol(GetFamilyName()))
- SetSymbolFlag(true);
}
PhysicalFontFace::~PhysicalFontFace()