From: Scott Kostyshak Date: Tue, 7 Jul 2015 10:52:03 +0000 (-0400) Subject: Use font 'Scheherazade' in tests of Arabic docs X-Git-Tag: 2.2.0alpha1~467 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=36b9b9737ec9b261faa3a7adf5f7c531ad1e54bb;p=features.git Use font 'Scheherazade' in tests of Arabic docs We do not currently have any Arabic documents, but when we do, these fonts will be used for the tests that use system fonts. They can be installed on Debian-type systems from the 'fonts-sil-scheherazade' package. --- diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index 9a7d7292ac..4c80468dd6 100644 --- a/development/autotests/useSystemFonts.pl +++ b/development/autotests/useSystemFonts.pl @@ -99,6 +99,12 @@ if ($fontT eq "systemF") { $font{sans} = "NanumGothic"; $font{typewriter} = "NanumGothic"; } + elsif ($lang eq "ar" ) { + # available in 'fonts-sil-scheherazade' package + $font{roman} = "Scheherazade"; + $font{sans} = "Scheherazade"; + $font{typewriter} = "Scheherazade"; + } else { # default system fonts $font{roman} = "FreeSans";