[NTG-context] no en dash with otf fonts

Lutz Haseloff lutz.haseloff at googlemail.com
Fri Nov 14 08:48:26 CET 2008


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 at 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 at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20081114/8278d267/attachment.html 


More information about the ntg-context mailing list