Wolfgang Schuster schrieb:
ConTeXt looks for system fonts only on Windows and Mac OS X (the paths are set
in data-res.lua),
for others system you need the OSFONTDIR variable. When you want the same
feature on Linux Hans
has to know where system fonts are stored and if these directories are the same
on each distribution.
On Ubuntu Intrepid that would be /usr/share/fonts for the fonts shipped
with the distribution, or installed via the repositories, and
$HOME/.fonts for user-installed fonts. Some distributions may use
/usr/local/share/fonts, but I haven't tried that on Intrepid.
BTW, if you want Context to find _both_ directories make sure you set
your OSFONTDIR in setuptex like this:
export OSFONTDIR="$HOME/.fonts;/usr/share/fonts"
You have to use the semicolon instead of a colon, and don't forget the
parentheses (found that in an old post by Khaled Hosny).
Cheers,
Peter Wüsten
___________________________________________________________________________________
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
___________________________________________________________________________________