Re: Protecting a custom font
Re: Protecting a custom font
- Subject: Re: Protecting a custom font
- From: Brandon Allbery <email@hidden>
- Date: Thu, 23 Feb 2012 15:37:58 -0500
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@hiddenwandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden