tdf#108720 Add symbol fonts to isSymbolFont()

Added webdings, wingdings, and bookshelf symbol 7

Change-Id: Icbd311dbe1cd6895d04ac10aa5a275894c613c15
Reviewed-on: https://gerrit.libreoffice.org/39217
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Yousuf Philips
2017-06-24 18:44:12 +04:00
committed by Caolán McNamara
parent 875fcea2a5
commit 3e82c30b89

View File

@@ -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") ||