[Xquartz-dev] Window focus issues on non-quartz wm

Peter Dyballa Peter_Dyballa at Web.DE
Wed Mar 17 17:29:08 PDT 2010


Am 18.03.2010 um 00:58 schrieb Jeremy Huddleston:

>> The new XQuartz 2.5.0_rc1 (xorg-server 1.7.5) shows the same  
>> behaviour. It also produces this message:
>>
>> 	/usr/X11/lib/X11/fonts/75dpi: failed to write cache
>
> Odd... can you please investigate this further.  What are the  
> directory permissions there?

	pete 225 /\ la -t /usr/X11/lib/X11/fonts/
	total 0
	drwxr-xr-x  3 root  wheel   1258 18 Mär 00:13 encodings
	drwxr-xr-x  2 root  wheel    782 18 Mär 00:10 util
	drwxr-xr-x  2 root  wheel  14144 18 Mär 00:10 misc
	drwxr-xr-x  2 root  wheel   3026 18 Mär 00:10 cyrillic
	drwxr-xr-x  2 root  wheel   2142 18 Mär 00:10 Type1
	drwxr-xr-x  2 root  wheel    986 18 Mär 00:10 TTF
	drwxr-xr-x  2 root  wheel    986 18 Mär 00:10 OTF
	drwxr-xr-x  2 root  wheel    476 18 Mär 00:10 Speedo
	drwxr-xr-x  2 root  wheel  64634 18 Mär 00:10 75dpi
	drwxr-xr-x  2 root  wheel  64634 18 Mär 00:10 100dpi



>  What are the file permissions for the cache files (ls -l /usr/X11/ 
> lib/X11/fonts/75dpi/fonts.*)

	pete 226 /\ la -t /usr/X11/lib/X11/fonts/75dpi/ | head -11
	total 32216
	-rw-r--r--  1 root  wheel  165343 18 Mär 00:10 fonts.dir
	-rw-r--r--  1 root  wheel    4268 18 Mär 00:10 encodings.dir
	-rw-r--r--  1 root  wheel       2 18 Mär 00:10 fonts.scale
	-rw-r--r--  1 root  wheel   98704 18 Mär 00:09 fonts.list
	-rw-r--r--  1 root  wheel    3066 16 Mär 05:15 fonts.alias
	-rw-r--r--  1 root  wheel    4105 16 Mär 05:11 charB08.pcf.gz
	-rw-r--r--  1 root  wheel    4380 16 Mär 05:11 charB10.pcf.gz

>   That file should be created by root when it runs 'font_cache -s'  
> during startx.  Try running this manually:
>
> sudo font_cache -f -s -v

Looks OK! See:

	pete 227 /\ sudo /usr/X11/bin/font_cache -f -s -v
	Password:
	font_cache: Scanning system font directories to generate X11 font  
caches
	font_cache: Making fonts.dir for updated directories.
	font_cache:    /System/Library/Fonts
	Unknown Type 1 weight "All"
	Couldn't determine weight for HelveLTMM
	Unknown Type 1 weight "All"
	Couldn't determine weight for TimesLTMM
	font_cache:    /Library/Fonts
	font_cache:    /Library/Fonts/Extrafonts
	font_cache:    /Library/Fonts/Extrafonts/Bauhaus
	Unknown Type 1 weight "Heavy"
	Couldn't determine weight for Bauhaus-Heavy 001.000.pfb
	font_cache:    /Library/Fonts/Linux Libertine
	font_cache:    /Library/Fonts/PostScript 3
	Unknown Type 1 weight "Compact"
	Couldn't determine weight for AntiqOliCom
	Unknown Type 1 weight "Poster"
	Couldn't determine weight for BodonPos
	Unknown Type 1 weight "Poster"
	Couldn't determine weight for BodonPosCom
	Unknown Type 1 weight "ExtraBold"
	Couldn't determine weight for CoppeThiThrBC
	Unknown Type 1 weight "Extra Bold"
	Couldn't determine weight for GillSanExtBol
	Unknown Type 1 weight "ExtraBold"
	Couldn't determine weight for GoudyExtBol
	font_cache:    /Library/Fonts/iTunes
	font_cache:    /Library/Fonts/urwfonts-1.41
	font_cache:    /usr/X11/share/fonts/100dpi
	font_cache:    /usr/X11/share/fonts/75dpi
	font_cache:    /usr/X11/share/fonts/OTF
	font_cache:    /usr/X11/share/fonts/Speedo
	font_cache:    /usr/X11/share/fonts/TTF
	font_cache:    /usr/X11/share/fonts/Type1
	font_cache:    /usr/X11/share/fonts/cyrillic
	font_cache:    /usr/X11/share/fonts/misc
	font_cache:    /usr/X11/share/fonts/util
	font_cache: Updating FC cache
	/usr/X11/share/fonts: caching, new cache contents: 0 fonts, 10 dirs
	/usr/X11/share/fonts/100dpi: caching, new cache contents: 398 fonts,  
0 dirs
	/usr/X11/share/fonts/75dpi: caching, new cache contents: 398 fonts, 0  
dirs
	/usr/X11/share/fonts/OTF: caching, new cache contents: 23 fonts, 0 dirs
	/usr/X11/share/fonts/Speedo: caching, new cache contents: 0 fonts, 0  
dirs
	/usr/X11/share/fonts/TTF: caching, new cache contents: 23 fonts, 0 dirs
	/usr/X11/share/fonts/Type1: caching, new cache contents: 29 fonts, 0  
dirs
	/usr/X11/share/fonts/cyrillic: caching, new cache contents: 0 fonts,  
0 dirs
	/usr/X11/share/fonts/encodings: caching, new cache contents: 0 fonts,  
1 dirs
	/usr/X11/share/fonts/encodings/large: caching, new cache contents: 0  
fonts, 0 dirs
	/usr/X11/share/fonts/misc: caching, new cache contents: 59 fonts, 0  
dirs
	/usr/X11/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts: caching, new cache contents: 0 fonts, 10 dirs
	/usr/X11R6/lib/X11/fonts/100dpi: caching, new cache contents: 398  
fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts/75dpi: caching, new cache contents: 398  
fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts/OTF: caching, new cache contents: 23 fonts,  
0 dirs
	/usr/X11R6/lib/X11/fonts/Speedo: caching, new cache contents: 0  
fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts/TTF: caching, new cache contents: 23 fonts,  
0 dirs
	/usr/X11R6/lib/X11/fonts/Type1: caching, new cache contents: 29  
fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts/cyrillic: caching, new cache contents: 0  
fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts/encodings: caching, new cache contents: 0  
fonts, 1 dirs
	/usr/X11R6/lib/X11/fonts/encodings/large: caching, new cache  
contents: 0 fonts, 0 dirs
	/usr/X11R6/lib/X11/fonts/misc: caching, new cache contents: 59 fonts,  
0 dirs
	/usr/X11R6/lib/X11/fonts/util: caching, new cache contents: 0 fonts,  
0 dirs
	/System/Library/Fonts: caching, new cache contents: 50 fonts, 0 dirs
	/Library/Fonts: caching, new cache contents: 162 fonts, 5 dirs
	/Library/Fonts/Extrafonts: caching, new cache contents: 248 fonts, 1  
dirs
	/Library/Fonts/Extrafonts/Bauhaus: caching, new cache contents: 5  
fonts, 0 dirs
	/Library/Fonts/Linux Libertine: caching, new cache contents: 7 fonts,  
0 dirs
	/Library/Fonts/PostScript 3: caching, new cache contents: 76 fonts, 0  
dirs
	/Library/Fonts/iTunes: caching, new cache contents: 30 fonts, 0 dirs
	/Library/Fonts/urwfonts-1.41: caching, new cache contents: 38 fonts,  
0 dirs
	/usr/X11/var/cache/fontconfig: cleaning cache directory
	/usr/X11/var/cache/fontconfig: invalid cache file:  
2c094d1c20dbb99343a61912e63eac3a-m68k.cache-2
	/usr/X11/bin/fc-cache: succeeded
	font_cache: Done
	
	    Time spent in user mode   (CPU seconds) : 41.587s
	    Time spent in kernel mode (CPU seconds) : 11.462s
	    Total time                              : 1:37.54s
	    CPU utilisation (percentage)            : 54.3%

The /Library/Fonts/PostScript 3 folder has all the fonts which came  
with my PS3 printer, still including FFIL font suitcases. Maybe my  
system setup is a bit too unorthodox, leaving away all stuff for the  
extremely time consuming path_helper application? ~/.MacOSX/ 
environment.plist delivers much improved performance.

The "invalid cache file" has been removed. There exists:

	-rw-r--r-- 1 root wheel 58688 16. Dez 19:49  
2c094d1c20dbb99343a61912e63eac3a-x86-64.cache-2

It shouldn't, on a PPC G4, should it?

--
Greetings

   Pete

Got Mole problems?
Call Avogadro 6.02 x 10^23



More information about the Xquartz-dev mailing list