[XeTeX] Fontspec Bug

L J Davies ljdavies at cimbri.nildram.co.uk
Wed Nov 19 18:34:22 CET 2008


Dear Heba,

Try putting \TeXXeTstate=1 in the preamble and putting your Arabic script between \beginR and \endR declarations in the main body of the document.

Kind regards,

Lars



-----Original Message-----
From: xetex-bounces at tug.org [mailto:xetex-bounces at tug.org] On Behalf Of Heba Soliman
Sent: 19 November 2008 07:22
To: xetex at tug.org
Subject: [XeTeX] Fontspec Bug

Dear Mr Will:

First of all thank you for your hard efforts in improving the fontspec package.

Second I have a big problem that is related to my work so I need please a quick answer.

The problem is that I am writing an arabic article and the diacritics in some places are collapsed with the letters and I don't know why this problem generated and how to fix it, the only thing I am sure of is that the font has no problem as I checked with other programs as Adobe illustrator and this problem doesn't exist:

This is my sample file:

\documentclass{amsart}

\usepackage{fontspec}
\usepackage{xltxtra}
\usepackage{xunicode}
\usepackage{bidi}


\setmainfont[Script=Arabic]{YakoutLinotypeLight-Regularxx.ttf}

\begin{document}

لمّا ألّا لمًّا آلّلًة لمُا

\end{document}

Please find attached the generated PDF file.

I will appreciate your quick reply. Thank you again for your efforts.

Best regards,

Heba



More information about the XeTeX mailing list