Re: [NTG-context] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 22:04:01 Alan BRASLAU wrote:
> On Sunday 15 November 2009 21:56:10 Peter Wüsten wrote:
> > 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"
> 
> Unfortunately, this is not sufficient, and thus refers us back to the
>  original post by Mika.
> 

Sorry, after running update.sh, context now finds the system fonts!

Alan
___
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
___


Re: [NTG-context] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 21:56:10 Peter Wüsten wrote:
> 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"

Unfortunately, this is not sufficient, and thus refers us back to the original 
post by Mika.

Alan
___
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
___


Re: [NTG-context] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Peter Wüsten

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
___