X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2FuseSystemFonts.pl;h=0c48880746354fa404a674e66667f88fa28689b4;hb=9594f6fc2d39efc2170c190ce927223402a66d63;hp=9a7d7292acc1e79a428fe9a0c31207ea033fb195;hpb=aea5e80f45d651d626c76c3dafe26fbba63b95e2;p=lyx.git diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 9a7d7292ac..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"; @@ -99,6 +104,12 @@ if ($fontT eq "systemF") { $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";