[Xquartz-dev] The 2.1.0 package and Apple System Fonts

Martin Costabel costabel at wanadoo.fr
Sun Dec 9 00:10:57 PST 2007


Ben Byer wrote:
> On Dec 8, 2007, at 6:24 PM, Merle Reinhart wrote:
[]
>> I played with this some more doing what you did above.  Then looking 
>> at the Fink applesystemfonts package, there is a comment there that 
>> the .dfonts have to be converted to .ttf to work with X11 (they use 
>> their fondu package to do this).  I installed this package, but they 
>> weren't seen by xlsfonts.

The applesystemfonts package is old, of course. It was made be Ben Reed 
long before Apple even had an X11 package. It has evolved since, but it 
would happily cede its place to a built-in functionality of Apple's X11.

[]
>> Unfortunately, when I restart the server, I then have to readd the 
>> Fink path with the converted fonts (this may be something for my 
>> .xinitrc or is there somewhere better to put this?).

In principle, the Fink xfontpath package should make this happen 
automatically for you. This worked on Tiger at shell startup by checking 
whether your DISPLAY was :0 and then running xset +fp. On Leopard it 
couldn't be left to run xset at every shell startup, because this would 
then wake up launchd and start X11 every time, even if you don't want 
it. So you need to run it by hand, but you don't need to remember the 
path (which can be more complex if you add some of the other Fink X font 
packages like msttcorefonts or x-ghostscript-fonts or xfonts-intl). You 
can just run

  xfontpath enable

This will run xset +fp with the right arguments. If you don't mind 
running X11 all the time, you can put this into your shell startup scripts.

> Theoretically, you should be able to create a /usr/X11/lib/X11/xorg.conf 
> file and add these settings there, but that file doesn't seem to be read 
> by our server, and I'm not sure why.   It's easy to add to the font path 
> when recompiling Xquartz, however.
> 
> If it's not clear, I'm trying to render applesystemfonts pointless. :)

Good, one package less to maintain for me :-)

-- 
Martin




More information about the Xquartz-dev mailing list