[Xquartz-dev] minor fontconfig configuration issues

Martin Otte otte at duke.edu
Wed Jun 4 19:01:51 PDT 2008


I have installed X11-2.3.0_rc3, and I've noticed that fontconfig does  
not see any of my local fonts in ~/Library/Fonts. This was probably  
true in earlier version too.

The relevant lines of /usr/X11/lib/X11/fontconfig/fonts.conf are:

<!-- Font directory list -->

	<dir>/usr/X11/lib/X11/fonts</dir>
	<dir>/usr/X11R6/lib/X11/fonts</dir>
	<dir>~/.fonts</dir>

<!--

and in /usr/X11/lib/X11/fontconfig/conf.d/05-osx-fonts.conf:

<fontconfig>
	<dir>/System/Library/Fonts</dir>
	<dir>/Library/Fonts</dir>
</fontconfig>

So either the ~/.fonts entry of fonts.conf should be replaced by ~/ 
Library/Fonts, or ~/.fonts should be removed and ~/Library/Fonts  
added to 5-osx-fonts.conf.

Also, since /usr/X11R6 is a symbolic link to /usr/X11, all of the X11  
fonts are being cached twice. The /usr/X11R6/lib/X11/fonts entry  
should probably be deleted.

Otherwise, I haven't had any issues with 2.3.0-rc3 that haven't been  
mentioned previously.

Martin





More information about the Xquartz-dev mailing list