commit 824be29341560be8c761ad740310cc57ef4954ad
Author: Kornel Benko <[email protected]>
Date: Thu Jun 11 19:10:56 2020 +0200
Tools(listFontWithLang.pl): Add new category for double stroke fonts
---
development/tools/listFontWithLang.pl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/development/tools/listFontWithLang.pl
b/development/tools/listFontWithLang.pl
index 92901fc..f4f0ba1 100644
--- a/development/tools/listFontWithLang.pl
+++ b/development/tools/listFontWithLang.pl
@@ -200,6 +200,7 @@ my %ftypes = (
100 => "Sans",
110 => "Script",
120 => "Fraktur",
+ 125 => "DoubleStroke",
130 => "Fancy",
140 => "Initials",
200 => "Symbol",
@@ -349,6 +350,7 @@ my %symbolFonts = (
"d" => qr/^(dingbats|drmsym|d05)/i,
"e" => qr/^(elusiveicons|emoji|esint|euterpe)/i,
"f" => qr/^(fandol.?brail|fdsymbol|fourierorns|font(awesome|ello|.?mfizz))/i,
+ "g" =>
qr/^(gan.?clm|gfs.?(baskerville|gazis|olga|porson|solomos|(bodoni|didot|complutum).?classic))/i,
"h" => qr/^(hots)/i,
"j" => qr/^jsmath.?(msam|cmsy|masm|msbm|wasy|cmex|stmary)/i,
"m" => qr/^(marvosym|material|msam|msbm)/i,
@@ -701,6 +703,9 @@ sub getftype($$)
return($ftypes{0}); # Serif
}
}
+ elsif ($fontname =~ /bbold|msbm|^dsrom/i) {
+ return($ftypes{125}); # Double stroke (math font)
+ }
# Now check for fonts without a hint in font name
if ($fontname =~ /^([a-z])/i) {
my $key = lc($1);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs