Awami Nastaliq is a Graphite font. In XeTeX you would need to say "Awami Nastaliq/GR". I'm not sure if that syntax would work in XeLaTeX, but somehow you have to indicate Graphite.
On Sat, Feb 20, 2021, 6:24 PM Kamal Abdali <kabd...@gmail.com> wrote: > XeLaTeX (in combination with Polyglossia) is not rendering the Awami > Nastaliq font properly. The letters in this font are being displayed > without being connected together. I haven't encountered this problem with > any other nastaleeq font. Nor have I seen this problem when using Awami in > word processors. > > %demo.tex > \documentclass[letterpaper]{article} > \usepackage{polyglossia} > \setmainlanguage{urdu} > \newfontfamily\urdufont[Script=Arabic]{Awami Nastaliq} > \newfontfamily\altnast[Script=Arabic]{Jameel Noori Nastaleeq} % or any > other nastaliq font > \setlength\parindent{0pt} > \begin{document} > عوامی نستعلیق\\ > \altnast{جمیل نوری نستعلیق} > \end{document} > > demo.pdf attached. > > Kamal Abdali >