Kaydet (Commit) 56dc7aec authored tarafından Khaled Hosny's avatar Khaled Hosny

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
üst 13d4f7b8
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment