Please take a look at the simplefonts module.
\usemodule[simplefonts]
\setmainfont[Ubuntu]
\switchtobodyfont[11pt]
(please correct me anyone, if I'm wrong).
Hey list,
I am trying to change the body font of my document in the environment
file to use the Ubuntu font provided at,
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
, by the ttf-ubuntu-font-family package. I have tried the following, but
it did not appear to change anything,
\setupbodyfont[ubuntu,11pt][file:ubuntu-r][features=default]
I also tried,
\setupbodyfont[ubuntu,11pt]
Any help would be appreciated.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
___________________________________________________________________________________
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
___________________________________________________________________________________