Minimals, Linux & OSFONTDIR
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 it does not pick up the fonts in both directories. Admitedly, this is my fault, but could someone help out? Thanks, Bart
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
it does not pick up the fonts in both directories. Admitedly, this is my fault, but could someone help out?
You could create a new directory, say: /home/bart/context-os-fonts and add (sym)links to /usr/local/share/fonts and /usr/share/fonts in that (I myself have added extra symlinks inside /usr/share/fonts). Best wishes, Taco
Taco, Thanks for the hint. It works! Bart On Tuesday 25 November 2008 12:20:01 am Taco Hoekwater wrote:
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
it does not pick up the fonts in both directories. Admitedly, this is my fault, but could someone help out?
You could create a new directory, say:
/home/bart/context-os-fonts
and add (sym)links to /usr/local/share/fonts and /usr/share/fonts in that (I myself have added extra symlinks inside /usr/share/fonts).
Best wishes, Taco ___________________________________________________________________________ ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________ ________
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, -- Khaled Hosny Arabic localizer and member of Arabeyes.org team
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
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
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
participants (3)
-
Bart C. Wise
-
Khaled Hosny
-
Taco Hoekwater