]> git.lyx.org Git - features.git/commitdiff
Tools(listFontWithLang.pl): Only Haramo.*Gothic fonts are sans serif
authorKornel Benko <kornel@lyx.org>
Mon, 31 Jan 2022 12:43:37 +0000 (13:43 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 31 Jan 2022 12:43:37 +0000 (13:43 +0100)
(Harano.*Mincho are serif fonts, so don't treat them as 'sans')

development/tools/listFontWithLang.pl

index 562ac4cb1d8fc9b31e6d30e630ccf6e55bbe360f..ee14a9037f0e53c4180cfa1ef1b14a9c8088c1ab 100644 (file)
@@ -409,7 +409,7 @@ my %sansFonts = (
   "e" => qr/^(electron|engebrechtre)/i,
   "f" => qr/^(fandolhei|fetamont|fira|font awesome 5|forgotten)/i,
   "g" => qr/^g(ardiner|aruda|fs ?neo|illius|ood ?times|ranada|raph|uanine|unplay)/i,
-  "h" => qr/^(hack|hani|haramain|harano|harmattan|hor\b)/i,
+  "h" => qr/^(hack|hani|haramain|harano.*gothic|harmattan|hor\b)/i,
   "i" => qr/^(ibm ?(plex ?mono|3270)|ikarius|inconsolata|induni.?h|iwona)/i,
   "j" => qr/^j(ara|ura|s ?math.?bbold)/i,
   "k" => qr/^(kalimati|kanji|karla|karma|kayrawan|kenyan|keraleeyam|khalid|khmer [or]|kiloji|klaudia|ko[mn]atu|kp ?mono|kurier|kustom)/i,