[XeTeX] Xetex and Arabic poetry

@@ abouanass at gmail.com
Wed Dec 30 20:44:07 CET 2009


Hi


On Wed, Dec 30, 2009 at 11:36, Vafa Khalighi <vafa at users.berlios.de> wrote:

>
>
> 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.
>

Another newbie question:

How to set the poetry title in KacstFarsi and the its body in Scheherazade?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20091230/7b484c41/attachment-0001.html>


More information about the XeTeX mailing list