[XeTeX] \farsidigits and \arabicdigits bug in polyglossia

Vafa Khalighi vafakhlgh at gmail.com
Fri Feb 11 04:05:51 CET 2011


\documentclass{minimal}

\usepackage{polyglossia}

\setmainlanguage{farsi}

\setotherlanguage{english}

\setmainfont{Yas}

\begin{document}

\farsidigits{0123{0123}0123}\\

\arabicdigits{0123{0123}0123}

\end{document}

Produces the attached image which I think, it is a bug. (0123 inside { }
appear in their western form and the 0 inside { } is appears after 3 which
is incorrect)


bug-polyglossia.png (*image/png*)
8K<?ui=2&ik=506a011e1b&view=att&th=12e12ade107b2515&attid=0.1&disp=attd&realattid=f_gk0il6430&zw>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110211/07986097/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-polyglossia.png
Type: image/png
Size: 8101 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110211/07986097/attachment-0001.png>


More information about the XeTeX mailing list