[XeTeX] xelatex not connecting letters in awami nastaliq font

Jonathan Kew jfkthame at gmail.com
Sun Feb 21 11:31:30 CET 2021


On 21/02/2021 03:27, Lorna Evans wrote:
> 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.
> 

The xelatex/fontspec way to say this would be

   \newfontfamily\urdufont[Renderer=Graphite]{Awami Nastaliq}

(You might also want to add the option

   \XeTeXinterwordspaceshaping=1

to your document, for better word spacing results.)

JK

> On Sat, Feb 20, 2021, 6:24 PM Kamal Abdali <kabdali at gmail.com 
> <mailto:kabdali at 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
> 



More information about the XeTeX mailing list.