From 36b9b9737ec9b261faa3a7adf5f7c531ad1e54bb Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Tue, 7 Jul 2015 06:52:03 -0400 Subject: [PATCH] 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. --- development/autotests/useSystemFonts.pl | 6 ++++++ 1 file changed, 6 insertions(+) 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"; -- 2.39.2