[NTG-context] Minimals, Linux & OSFONTDIR

Bart C. Wise bntgcontext at wiseguysweb.com
Tue Nov 25 14:24:51 CET 2008


On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > I have more that two path for my fonts:
> > - /usr/local/share/fonts
> > -/usr/share/fonts
> >
> > When I do one path, it works fine; however, if I put two paths as
> > follows:
> >
> >     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
>
> use ";" not ":"
> export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
>
> Regards,

Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used to 
separate commands, so this sets the OSFONTDIR to /usr/local/share/fonts and 
then tries to execute the command "/usr/share/fonts", which of course it 
cannot do because it's a directory.

Bart


More information about the ntg-context mailing list