From 3e82c30b89b87199b8f20658beecbfccccffcd52 Mon Sep 17 00:00:00 2001 From: Yousuf Philips Date: Sat, 24 Jun 2017 18:44:12 +0400 Subject: [PATCH] tdf#108720 Add symbol fonts to isSymbolFont() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added webdings, wingdings, and bookshelf symbol 7 Change-Id: Icbd311dbe1cd6895d04ac10aa5a275894c613c15 Reviewed-on: https://gerrit.libreoffice.org/39217 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svtools/source/misc/sampletext.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx index 59da7c6ffd6e..7a2db3986b8f 100644 --- a/svtools/source/misc/sampletext.cxx +++ b/svtools/source/misc/sampletext.cxx @@ -126,6 +126,11 @@ bool isSymbolFont(const vcl::Font &rFont) rFont.GetFamilyName().equalsIgnoreAsciiCase("MusiSync") || rFont.GetFamilyName().equalsIgnoreAsciiCase("stmary10") || rFont.GetFamilyName().equalsIgnoreAsciiCase("Symbol") || + rFont.GetFamilyName().equalsIgnoreAsciiCase("Webdings") || + rFont.GetFamilyName().equalsIgnoreAsciiCase("Wingdings") || + rFont.GetFamilyName().equalsIgnoreAsciiCase("Wingdings 2") || + rFont.GetFamilyName().equalsIgnoreAsciiCase("Wingdings 3") || + rFont.GetFamilyName().equalsIgnoreAsciiCase("Bookshelf Symbol 7") || rFont.GetFamilyName().startsWith("STIXIntegrals") || rFont.GetFamilyName().startsWith("STIXNonUnicode") || rFont.GetFamilyName().startsWith("STIXSize") ||