[XeTeX] bidi and fontspec

Zdenek Wagner zdenek.wagner at gmail.com
Fri Jun 24 23:55:48 CEST 2016


Can it be the problem of an increased number of ucharclasses? (I can
reproduce the problem.)
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz


2016-06-24 23:49 GMT+02:00 David J. Perry <hospes.primus at verizon.net>:
> 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
>>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex



More information about the XeTeX mailing list