I think you need to add mode=node to your tlig definition. On Tue, Mar 22, 2011 at 01:57:05PM +0100, C. wrote:
The font is Whitman (ttf). Minimal example and its output is attached.
-----Ursprüngliche Nachricht----- Von: Hans Hagen [mailto:pragma@wxs.nl] Gesendet: Dienstag, 22. März 2011 10:57 An: mailing list for ConTeXt users Cc: C. Betreff: Re: [NTG-context] Endash tlig not working
On 22-3-2011 1:23, C. wrote:
Hello, the automatic replacement of -- to endash does not work with a certain font. \endash does work and produces the expected symbol. I also have these lines in my code: \definefontfeature[tlig][default][tlig=yes] \addff{tlig}
I checked that the endash is at position U+2013 in the font.
What else could be wrong here?
the fact that you don't tell what font it concerns and that no minimal example is added
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 ___________________________________________________________________________________
-- Khaled Hosny Egyptian Arab