* different behavior between xetex and luatex
@ 2008-12-23 4:26 Yue Wang
2008-12-23 8:08 ` Jonathan Kew
0 siblings, 1 reply; 5+ messages in thread
From: Yue Wang @ 2008-12-23 4:26 UTC (permalink / raw)
To: Jin-Hwan Cho, Taco Hoekwater, Hans Hagen,
mailing list for ConTeXt users, Kew Jonathan
[-- Attachment #1: Type: text/plain, Size: 386 bytes --]
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
[-- Attachment #2: a.pdf --]
[-- Type: application/pdf, Size: 2974 bytes --]
[-- Attachment #3: a.tex --]
[-- Type: application/x-tex, Size: 1075 bytes --]
[-- Attachment #4: b.pdf --]
[-- Type: application/pdf, Size: 2669 bytes --]
[-- Attachment #5: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: different behavior between xetex and luatex
2008-12-23 4:26 different behavior between xetex and luatex Yue Wang
@ 2008-12-23 8:08 ` Jonathan Kew
2008-12-23 8:42 ` Mojca Miklavec
2008-12-23 10:15 ` Yue Wang
0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Kew @ 2008-12-23 8:08 UTC (permalink / raw)
To: Yue Wang
Cc: Jin-Hwan Cho, Hans Hagen, Taco Hoekwater, mailing list for ConTeXt users
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.
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.
JK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: different behavior between xetex and luatex
2008-12-23 8:08 ` Jonathan Kew
@ 2008-12-23 8:42 ` Mojca Miklavec
2008-12-23 10:08 ` Yue Wang
2008-12-23 10:15 ` Yue Wang
1 sibling, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2008-12-23 8:42 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jonathan Kew; +Cc: Jin-Hwan Cho
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.
Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: different behavior between xetex and luatex
2008-12-23 8:42 ` Mojca Miklavec
@ 2008-12-23 10:08 ` Yue Wang
0 siblings, 0 replies; 5+ messages in thread
From: Yue Wang @ 2008-12-23 10:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi, Hans:
>
> When trk is replaced by TRK it works OK in XeTeX.
Thanks! So I think we should support lowercase code for xetex as well
for api consistency?
LuaTeX/MKIV use lowercase labels.
Then we can get similar output using the same tex file.
Yue Wang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: different behavior between xetex and luatex
2008-12-23 8:08 ` Jonathan Kew
2008-12-23 8:42 ` Mojca Miklavec
@ 2008-12-23 10:15 ` Yue Wang
1 sibling, 0 replies; 5+ messages in thread
From: Yue Wang @ 2008-12-23 10:15 UTC (permalink / raw)
To: Jonathan Kew
Cc: Jin-Hwan Cho, Hans Hagen, Taco Hoekwater, mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
Hi, Jonathan:
Thanks for the analysis! Now I replace the trk with TRK, and xetex
output is right.
>
> 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.
The input file is not right. here is the right one: luatex do not
enable kerning and ligatures by default, users should specify them or
just using the "default" feature. Sorry for the noise.
Yue Wang
[-- Attachment #2: luatex.pdf --]
[-- Type: application/pdf, Size: 3193 bytes --]
[-- Attachment #3: a.tex --]
[-- Type: application/x-tex, Size: 1102 bytes --]
[-- Attachment #4: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-23 10:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-23 4:26 different behavior between xetex and luatex Yue Wang
2008-12-23 8:08 ` Jonathan Kew
2008-12-23 8:42 ` Mojca Miklavec
2008-12-23 10:08 ` Yue Wang
2008-12-23 10:15 ` Yue Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).