On Tuesday 25 November 2008 06:45:23 am Khaled Hosny wrote:
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"
That works! Thanks, Bart