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.
This commit is contained in:
Scott Kostyshak 2015-07-07 06:52:03 -04:00
parent b7dd5ade94
commit 36b9b9737e

View File

@ -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";