From: Kornel Benko Date: Sun, 25 Oct 2015 17:23:31 +0000 (+0100) Subject: Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs X-Git-Tag: 2.2.0alpha1~149 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8fab6470fbb17644c7eea53ed019a1f56809192f;p=features.git Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs Thanks to Guenter Milde --- diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 4c80468dd6..6811fd62df 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)$/) { $font{roman} = "FreeSans"; $font{sans} = "FreeSans"; $font{typewriter} = "FreeSans";