[NTG-context] different behavior between xetex and luatex

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue Dec 23 09:42:20 CET 2008

On Tue, Dec 23, 2008 at 9:08 AM, Jonathan Kew wrote:
> On 23 Dec 2008, at 04:26, Yue Wang wrote:
>> Hi, all.
>> I expect different output in xetex and luatex using context. and I
>> think the problem is quite serious although I do not speak Turkish.
>> in turkish, fi can not be treat as ligatures and I can see luatex
>> handle that quite well. however, in xetex, fi are treated as
>> ligatures.
>> I attach the files and output here. I don't know it is a bug in xetex,
>> context or dvipdfmx:(
>> Yue Wang
>> <a.pdf><a.tex><b.pdf>
> I don't know how the ConTeXt+XeTeX font setup works, but I notice
> "language=trk" in your file. OpenType language tags are all-uppercase, so I
> would have expected this to be "language=TRK". If the proper language system
> isn't specified, you will get the default behavior, which includes the "fi"
> ligatures.

When trk is replaced by TRK it works OK in XeTeX.

> In the LuaTeX case, I don't think *any* ligatures are enabled by default, so
> the language is irrelevant; notice that there's no "ff" ligature in your
> output either, even though this should be expected.

LuaTeX (ConTeXt with LuaTeX support) is a bit broken at the moment -
the example doesn't compile here, so it's difficult to say anything.


More information about the ntg-context mailing list