X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2FuseSystemFonts.pl;h=0c48880746354fa404a674e66667f88fa28689b4;hb=9594f6fc2d39efc2170c190ce927223402a66d63;hp=7b71c82713b3bda61900e49fc494da725b92452d;hpb=83071a23922147b8a2e0289682967cd86ff1c26e;p=lyx.git diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 7b71c82713..0c48880746 100644 --- a/development/autotests/useSystemFonts.pl +++ b/development/autotests/useSystemFonts.pl @@ -79,7 +79,12 @@ if ($source =~ /\/([a-z][a-z](_[A-Z][A-Z])?)\//) { $lang = $1; } if ($fontT eq "systemF") { - if ($lang =~ /^(he|el|ru|uk|main)$/) { + if ($lang =~ /^(ru|uk)$/) { + $font{roman} = "DejaVu Serif"; + $font{sans} = "DejaVu Sans"; + $font{typewriter} = "DejaVu Sans Mono"; + } + elsif ($lang =~ /^(he|el|main)$/) { $font{roman} = "FreeSans"; $font{sans} = "FreeSans"; $font{typewriter} = "FreeSans"; @@ -94,6 +99,17 @@ if ($fontT eq "systemF") { $font{sans} = "WenQuanYi Micro Hei"; $font{typewriter} = "WenQuanYi Micro Hei"; } + elsif ($lang eq "ko" ) { + $font{roman} = "NanumGothic"; # NanumMyeongjo, NanumGothic Eco, NanumGothicCoding + $font{sans} = "NanumGothic"; + $font{typewriter} = "NanumGothic"; + } + elsif ($lang eq "ar" ) { + # available in 'fonts-sil-scheherazade' package + $font{roman} = "Scheherazade"; + $font{sans} = "Scheherazade"; + $font{typewriter} = "Scheherazade"; + } else { # default system fonts $font{roman} = "FreeSans";