[XeTeX] bidi and fontspec

David J. Perry hospes.primus at verizon.net
Fri Jun 24 23:49:50 CEST 2016


On my system Mike's minimal example gives the same results as he got 
(periods to the left).  Note that I use MiKTeX, not TeXLive.

David

On 6/24/2016 5:07 PM, maxwell wrote:
> I believe I've run into a bug in the interaction of fontspec and bidi 
> in the 2016 TeXLive distribution.  However, it appears to be so simple 
> to trigger that I'm wondering whether it's something I'm doing.
>
> The WME is:
> ------------
> \documentclass{report}
> \usepackage{fontspec}
> \usepackage{bidi}
>
> \begin{document}
> The number 12. The number 34.56. Some more text.
> \end{document}
> ------------
>
> The result of running xelatex on the above is the text:
> ------------
> The number .12 The number .56.34 Some more text.
> ------------
>
> You'll notice that the two numbers appear in reverse order across the 
> periods--that is, if you have
>    <number><period>
> in the input file, you get
>    <period><number>
> in the PDF.  But the digits inside <number> are in the correct order.  
> Other punctuation that I've tried (including the comma) do not seem to 
> trigger this bug, only the period. (Hexadecimal digits A-F block the 
> reversal, too :-).)
>
> Loading fontspec seems to be necessary for this bug to happen. And I'm 
> not actually invoking either bidi or fontspec.
>
> Can someone reproduce this?
>
>    Mike Maxwell
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



More information about the XeTeX mailing list