From 824be29341560be8c761ad740310cc57ef4954ad Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 11 Jun 2020 19:10:56 +0200 Subject: [PATCH] Tools(listFontWithLang.pl): Add new category for double stroke fonts --- development/tools/listFontWithLang.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/development/tools/listFontWithLang.pl b/development/tools/listFontWithLang.pl index 92901fcdc4..f4f0ba1daa 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); -- 2.39.5