From 8fab6470fbb17644c7eea53ed019a1f56809192f Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sun, 25 Oct 2015 18:23:31 +0100 Subject: [PATCH] Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs Thanks to Guenter Milde --- development/autotests/useSystemFonts.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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";