mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Setup proper Arabic fonts in testfiles
This commit is contained in:
parent
f1accdebf3
commit
7f21cfc24a
@ -5,6 +5,15 @@
|
|||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
\origin unavailable
|
\origin unavailable
|
||||||
\textclass scrartcl
|
\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
|
\use_default_options false
|
||||||
\begin_modules
|
\begin_modules
|
||||||
enumitem
|
enumitem
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
\origin unavailable
|
\origin unavailable
|
||||||
\textclass scrartcl
|
\textclass scrartcl
|
||||||
\begin_preamble
|
\begin_preamble
|
||||||
|
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
|
||||||
\newfontfamily\amharicfont{Noto Sans Ethiopic}
|
\newfontfamily\amharicfont{Noto Sans Ethiopic}
|
||||||
\newfontfamily\churchslavonicfont{Monomakh Unicode}
|
\newfontfamily\churchslavonicfont{Monomakh Unicode}
|
||||||
\newfontfamily\devanagarifont{Noto Serif Devanagari}
|
\newfontfamily\devanagarifont{Noto Serif Devanagari}
|
||||||
|
Loading…
Reference in New Issue
Block a user