Setup proper Arabic fonts in testfiles

This commit is contained in:
Juergen Spitzmueller 2019-12-12 13:53:13 +01:00
parent f1accdebf3
commit 7f21cfc24a
2 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,15 @@
\save_transient_properties true
\origin unavailable
\textclass scrartcl
\begin_preamble
% If fontspec (Polyglossia + XeTeX/LuaTeX) is used,
% we need a proper Arabic font
\AtBeginDocument{%
\@ifpackageloaded{fontspec}{%
\newfontfamily\arabicfont[Script=Arabic]{Amiri}%
}{}%
}
\end_preamble
\use_default_options false
\begin_modules
enumitem

View File

@ -6,6 +6,7 @@
\origin unavailable
\textclass scrartcl
\begin_preamble
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
\newfontfamily\amharicfont{Noto Sans Ethiopic}
\newfontfamily\churchslavonicfont{Monomakh Unicode}
\newfontfamily\devanagarifont{Noto Serif Devanagari}