Re: X11 startup script on 10.6
Re: X11 startup script on 10.6
- Subject: Re: X11 startup script on 10.6
- From: Jens Nöckel <email@hidden>
- Date: Fri, 24 Sep 2010 14:39:16 -0700
On Sep 20, 2010, at 4:31 PM, Jeremy Huddleston wrote:
>
> On Sep 20, 2010, at 15:36, Drew Harris wrote:
>
>> Hello,
>>
>> I need to ensure that some extra fonts are loaded upon starting X11 (Snow Leopard on Macbook) to view a Mathematica session over NX.
>>
>> I'm able to use "xset fp+ /pathtofonts; xset fp rehash" and this properly loads the fonts, however, I'd like for this to happen when X11 starts.
>
> See /usr/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh
>
Hi,
it seems to me that the test for $HOME/.fonts/fonts.dir in the above startup script should also check subdirectories. As it is now, if .fonts contains a hierarchy of directories such as BDF/ and Type1/ but has no fonts.dir at the top, then ~/.fonts isn't added to the path. This makes it necessary to add it manually in .xinitrc.d, which somehow defeats the purpose of ~/.fonts...
When I add an empty fonts.dir manually in ~/.fonts, it gets erased as soon as the server starts up, so I can't get ~/.fonts to be added automatically unless I have all font files in a single flat directory without subdirectories.
Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden