[Libreoffice-commits] core.git: svtools/source
Yousuf Philips
philipz85 at hotmail.com
Sat Jun 24 20:46:00 UTC 2017
svtools/source/misc/sampletext.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 3e82c30b89b87199b8f20658beecbfccccffcd52
Author: Yousuf Philips <philipz85 at hotmail.com>
Date: Sat Jun 24 18:44:12 2017 +0400
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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") ||
More information about the Libreoffice-commits
mailing list