[XeTeX] Xetex and Arabic poetry

Vafa Khalighi vafa at users.berlios.de
Wed Dec 30 11:36:50 CET 2009


On Wed, Dec 30, 2009 at 9:23 PM, @@ <abouanass at gmail.com> wrote:

> Hi,
>
> The attached example is produced with this command:
> \font\myfont="KacstFarsi" at 18pt
> \myfont
>

This is Plain XeTeX macro, if you load fontspec, instead using that you
should have

\newfontfamily\myfont[Script=Arabic]{KacstFarsi}

And if you do not like using fontspec, then you need to have

\font\myfont="KacstFarsi:script=arab" at 18pt



>
> This one:
>
> \newfontinstance\arabicfont[Script=Arabic,Scale=1.2,WordSpace=2]{KacstFarsi}
> is perfect!
>
>
>
Yes, this is the way you should do it when using fontspec.



-- 
Best wishes,
Vafa Khalighi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20091230/6ef746e3/attachment.html>


More information about the XeTeX mailing list