]> git.lyx.org Git - features.git/commitdiff
Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs
authorKornel Benko <kornel@lyx.org>
Sun, 25 Oct 2015 17:23:31 +0000 (18:23 +0100)
committerKornel Benko <kornel@lyx.org>
Sun, 25 Oct 2015 17:23:31 +0000 (18:23 +0100)
Thanks to Guenter Milde

development/autotests/useSystemFonts.pl

index 4c80468dd6d4f6567198efbdc1dd20c26eac102b..6811fd62dfecf5ef79043bf116d8a36c0053d186 100644 (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";