Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs

Thanks to Guenter Milde
This commit is contained in:
Kornel Benko 2015-10-25 18:23:31 +01:00
parent 49f5002231
commit 8fab6470fb

View File

@ -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";