Re: Protecting a custom font
Re: Protecting a custom font
- Subject: Re: Protecting a custom font
- From: Doug Carter <email@hidden>
- Date: Thu, 23 Feb 2012 12:44:27 -0800
On Thu, Feb 23, 2012 at 03:37:58PM -0500, Brandon Allbery wrote:
> On Thu, Feb 23, 2012 at 08:35, Doug Carter <email@hidden>
> wrote:
>
> To use the font, I've added it to /opt/X11/lib/X11/fonts/misc/ and
> update
> the fonts.alias file, which works perfectly. The problem is, any time I
> update to a new XQuartz release, this directory gets updated and I need
> to add it back to the fonts.alias file and run mkfontdir.
>
> Is there an easy (or preferred) way to protect this font configuration
> across XQuartz updates?
>
> Take a look at /opt/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh. The one
> I'm looking at automatically adds ~/.fonts to the bitmap font path during
> X11 startup if it exists and has a fonts.dir file (as created by
> mkfontdir) in it. It also automatically adds the more Mac-like
> ~/Library/Fonts if that has a fonts.dir in it.
> --
> brandon s allbery
> email@hidden
> wandering unix systems administrator (available) (412) 475-9364 vm/sms
Thank you all for the help. I *knew* there was an easy way to do this.
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden