On 5-3-2011 5:24, Ulrike Fischer wrote:
On c.t.t. there was a discussion about the TeX-ligatures -- and ---
for endash and emdash. It seems that the luaotfload/context code
fails for some font/mode combination: For some fonts +tlig works
with both modes, some works only with mode=base, and there was also
a report of font which doesn't work at all (Frutiger LT 55 Roman).
E.g. on my PC +tlig works for Arial (c:/windows/fonts/Arial.ttf)
tested with a current context minimals only with mode=base.
\font\test="Arial:mode=node;+tlig"
\font\testb="Arial:mode=base;+tlig"
\starttext
\test -- --- abc %fails
\testb -- --- abc %works
\stoptext \bye
this is a side effect of there being two hyphens, think of:
\char 45\char 45
\char173\char173
\char173\char 45
\char 45\char173
\char 45\char 45\char 45
\char173\char173\char173
\char173\char 45\char 45
\char 45\char173\char173
fixed in next beta
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___