nihao Yi,

you can enable all TeX ligatures as a fontfeature:
(minimat example)

\definefontfeature[lig][tlig=yes]
\font\nolig=Tallys at 12pt
\font\lig=Tallys*lig at 12pt
\starttext
\nolig - -- ---

\lig - -- ---
\stoptext

Greetings Lutz

2008/11/14 Yi Zhang <yizhang84@gmail.com>
Hi,

I'm using some otf fonts but '--' does not produce the en dash. How
can I get over this problem? Thanks,

--
Yi
___________________________________________________________________________________
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
___________________________________________________________________________________