[Libreoffice-commits] core.git: svtools/source

Khaled Hosny khaledhosny at eglug.org
Tue Aug 12 09:34:31 PDT 2014


 svtools/source/misc/sampletext.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 56dc7aecc3194dac8012ebc252fb893125f64ebc
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Tue Aug 12 19:25:21 2014 +0300

    Related: fdo#82259 not all STIX are symbol fonts
    
    The new "STIX" and "STIX Math" are regular fonts, as well as the old
    "STIXGeneral", so narrow the match a bit.
    
    Change-Id: I82341c3e9e5dd4e0323bf76096cba8890a82f0c7

diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx
index dd26f80..b099960 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -42,7 +42,10 @@ bool isSymbolFont(const Font &rFont)
             rFont.GetName().equalsIgnoreAsciiCase("MusiSync") ||
             rFont.GetName().equalsIgnoreAsciiCase("stmary10") ||
             rFont.GetName().equalsIgnoreAsciiCase("Symbol") ||
-            rFont.GetName().startsWith("STIX") ||
+            rFont.GetName().startsWith("STIXIntegrals") ||
+            rFont.GetName().startsWith("STIXNonUnicode") ||
+            rFont.GetName().startsWith("STIXSize") ||
+            rFont.GetName().startsWith("STIXVariants") ||
             isOpenSymbolFont(rFont);
 }
 


More information about the Libreoffice-commits mailing list