[XeTeX] Arabic fonts and line heights

Vafa Khalighi vkhalighi at icloud.com
Sun Jan 13 14:38:29 CET 2013

Sure. This is a sample I wrote few years ago. It is not perfect but it should get you started:


I am afraid that the macros are written in Persian.

Note: sorry for posting this twice. It seems that last time, I replied to the wrong question.

On Jan 13, 2013, at 03:05 AM, Nathan Camillo Sidoli <sidoli at waseda.jp> wrote:

This may not actually be a xetex question, but I suspect I may get a 
useful answer here.

Is there someway I can more accurately control the line height when 
using an Arabic font? When I use certain Arabic fonts, such as Amiri, 
which stack a lot in certain situations, I get very mixed line heights. 
The effect of this is that in entire pages of Arabic some lines are 
bunched together and others are more spread out, while in pages where 
Arabic words are quoted and phrases in generally English text the will 
sometimes create large gaps between the lines. I can get rid of this 
effect by correcting with something like scale=.8, but this makes the 
Arabic text so small as to be almost unreadable.

Is there some way I can force the text to observe certain line heights, 
or at least make them all the same on each individual page?



Subscriptions, Archive, and List information, etc.:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20130113/89f313db/attachment-0001.html>

More information about the XeTeX mailing list