2009/5/28 Wolfgang Schuster
Hi Wolfgang, thanks for such a fast answer !
Am 28.05.2009 um 17:59 schrieb Nicolas Girard:
\starttext \font\Myfont=Delicious-Roman at 24pt \Myfont Hello, world \stoptext
Please don't use \font, use ConTeXt's \definefont instead:
OK, but why ? Reading the list, I see that you were still using it six months ago ; is is deprecated now ?
\definefont[Myfont][name:Delicious-Roman][features=default]
This indeed let me get the font. But then, I can't get any en/em dashes when typing -- / ---. I have: $ mtxrun --script fonts --list --info --pattern="delicious*roman" MTXrun | fontname: deliciousroman MTXrun | fullname: Delicious-Roman MTXrun | filename: /usr/local/share/fonts/d/delicious_roman.otf MTXrun | MTXrun | gpos features: MTXrun | MTXrun | feature script languages MTXrun | MTXrun | kern latn dflt MTXrun | MTXrun | gsub features: MTXrun | MTXrun | feature script languages MTXrun | MTXrun | tlig all all MTXrun | trep all all but none of the following tests did succeed: %===== \starttext \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext %===== \starttext \definefontfeature[default][mapping=tex-text] \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext %===== \starttext \definefontfeature[default][tlig=yes,mapping=tex-text] \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext %===== \starttext \definefontfeature[default][tlig=yes,script=latn,mapping=tex-text] \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext Any thoughts ? -- Nicolas