<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 9:51 AM, Jonathan Kew <span dir="ltr"><<a href="mailto:jfkthame@gmail.com" target="_blank">jfkthame@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":31q" class="" style="overflow:hidden">Here's an example in Urdu script. There are 3 pages, all containing the exact same text.<br>
<br>
Page 1 has \XeTeXinterwordspaceshaping = 0, so this is what existing xetex would produce.<br>
<br>
Page 2 has \XeTeXinterwordspaceshaping = 1, which allows the font to kern across the inter-word spaces; in some cases this makes the space width substantially negative, so that adjacent words actually "overlap" to some degree. This avoids the large visual "gaps" that sometimes occur on page 1, depending on the shapes of the adjacent words.<br>
<br>
Page 3 has \XeTeXinterwordspaceshaping = 2, so we get the exact same line-breaks as page 2, but with some (relatively subtle, mostly) improvements to the actual shaping at word boundaries.<br>
<br>
Hope this helps to illustrate why this feature is important (in certain specialized cases).<span class=""></span></div></blockquote></div><br><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​For such effects, I have so far relied on the Word​​​Space option of \newfontfamily command in the fontspec package. Two samples (urdusample0.pdf and urdusample1_5.pdf) of running xelatex on the same Urdu text as yours are attached. ​They have WordSpace set to 0 and 1.5, respectively. They are using another Nastaleeq font since I don't know anything about Awami. <br><br>The new converts to Nastaleeq like the interword spaces eliminated completely, and this seems to be the default in Urdu word processors for Nastaleeeq. My need is the opposite. As I wouldn't write<br><div style="text-align:center">"Thequickbrownfoxjumpsdoverthelazydog" </div>in English, I would prefer words to be separate in Urdu also. I don't want to start an ideological debate here but mention this just to plead to you to allow in your system some way of allowing interword spaces liberally.<br><br>Kamal Abdali<br><br></div></div></div>