commit 8fab6470fbb17644c7eea53ed019a1f56809192f
Author: Kornel Benko <[email protected]>
Date: Sun Oct 25 18:23:31 2015 +0100
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 4c80468..6811fd6 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";