[NTG-context] Minimals, Linux & OSFONTDIR

Khaled Hosny khaledhosny at eglug.org
Tue Nov 25 14:45:23 CET 2008


On Tue, Nov 25, 2008 at 06:24:51AM -0700, Bart C. Wise wrote:
> 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.

I should have escaped it, sorry:
export OSFONTDIR="/usr/local/share/fonts;/usr/share/fonts"

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20081125/69879abb/attachment.bin 


More information about the ntg-context mailing list