[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - svtools/source
Khaled Hosny
khaledhosny at eglug.org
Tue Aug 12 09:45:51 PDT 2014
svtools/source/misc/sampletext.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 4fbf715763122215ae8d8d961d73a5b7867dd6c6
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
(cherry picked from commit 56dc7aecc3194dac8012ebc252fb893125f64ebc)
Reviewed-on: https://gerrit.libreoffice.org/10896
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
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