[Xquartz-dev] Server side fonts

Peter Dyballa Peter_Dyballa at Web.DE
Wed May 5 13:45:01 PDT 2010


Hello!

X clients can either use fonts supplied via libfontconfig or request  
them from the X server. The X server is configured like this:

	checking for root directory for font files... /opt/local/share/fonts
	checking for directory for misc files... ${FONTROOTDIR}/misc
	checking for directory for OTF files... ${FONTROOTDIR}/OTF
	checking for directory for TTF files... ${FONTROOTDIR}/TTF
	checking for directory for Type1 files... ${FONTROOTDIR}/Type1
	checking for directory for 75dpi files... ${FONTROOTDIR}/75dpi
	checking for directory for 100dpi files... ${FONTROOTDIR}/100dpi
	checking for ${prefix}/etc/X11/fontpath.d... no
	checking for default font path... ${FONTROOTDIR}/misc/,${FONTROOTDIR}/ 
TTF/,${FONTROOTDIR}/OTF/,${FONTROOTDIR}/Type1/,${FONTROOTDIR}/100dpi/,$ 
{FONTROOTDIR}/75dpi/,/Library/Fonts,/System/Library/Fonts

Xfontsel uses the X server. When I select "apple" as foundry, i.e., I  
select fonts from /Library/Fonts or /System/Library/Fonts (why is  
there no ~/Library/Fonts?), it crashes. The xfontsel I am writing of  
is /usr/X11/bin/xfontsel from the X11 update 2.5.0 (Leopard 10.5.8  
PPC, build 9L31a). When I select any Unicode encoded OT font, found in  
some other directory in my font path addition, xfontsel fails to  
display any glyphs. It looks to me as if the X server cannot deliver  
fonts derived from OT fonts. It even often crashes when I select such  
a font from its names display...

--
Greetings
                                  <]
   Pete       o        __o         |__    o           recumbo
     ___o    /I       -\<,         |o \  -\),-%       ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________



More information about the Xquartz-dev mailing list