commit 36b9b9737ec9b261faa3a7adf5f7c531ad1e54bb
Author: Scott Kostyshak <[email protected]>
Date: Tue Jul 7 06:52:03 2015 -0400
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 9a7d729..4c80468 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";