I am trying to write a letter in Arabic using the KacstPen
font. However, the resulting document does not show numerals nor symbols.
Does anyone know how to fix this? Below is the code and the resulting document:
\documentclass[12pt]{letter}
\usepackage[a4paper,left=2.5cm, right=2.5cm, top=0cm, bottom=0cm]{geometry}
\usepackage{graphicx}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage[calendar=gregorian,hijricorrection=1,locale=morocco]{arabic}
\setotherlanguage[variant=british]{english}
\setmainfont{KacstPen}
\address{سعيد \\ دوار مديونة \\ رقم الهاتف: 0655850000}
\begin{document}
\begin{letter}{إلى السيد: المندوب الجهوي لمؤسسة وسيط المملكة\\ شارع مصطفي لحلو, حي الأدارسة\\ فاس 30040 المغرب}
\opening{\textbf{الموضوع: ملاحظات وتوضيحات حول التظلم عدد 19-24064} \\ \\ \\سلام تام بوجود مولانا الإمام:}
\closing{إمضاء:\\
%\fromsig{\includegraphics[scale=0.08]{signature4.png}} \\
\fromname{سعيد }
}
\end{letter}
\end{document}
And this is the result:
ucharclasses
will do what you want. Search forucharclasses
on this site to see examples of its usage.