]> git.lyx.org Git - features.git/commitdiff
Use font 'Scheherazade' in tests of Arabic docs
authorScott Kostyshak <skostysh@lyx.org>
Tue, 7 Jul 2015 10:52:03 +0000 (06:52 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 7 Jul 2015 10:54:12 +0000 (06:54 -0400)
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

index 9a7d7292acc1e79a428fe9a0c31207ea033fb195..4c80468dd6d4f6567198efbdc1dd20c26eac102b 100644 (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";