[Xquartz-dev] Server side fonts

Peter Dyballa Peter_Dyballa at Web.DE
Thu May 6 10:07:47 PDT 2010


Am 06.05.2010 um 16:00 schrieb Tom Lane:

> What do you mean exactly by "crashes"?

When I select in xfontsel apple in the foundry field xfontsel  
instantaneously disappears from screen.

Launched from a shell I get:

	X Error of failed request:  BadValue (integer parameter out of range  
for operation)
	  Major opcode of failed request:  45 (X_OpenFont)
	  Value in failed request:  0x1200045
	  Serial number of failed request:  2642
	  Current serial number in output stream:  2643

The return code is 1.

> This might be a dup of
> http://xquartz.macosforge.org/trac/ticket/325
> although I have only seen that problem on Snow Leopard not Leopard.


Yes, it looks like that, although I can't reproduce it with wish  
(version 8.5.8 and 8.4.1).


OTF tests were performed for example with /System/Library/Fonts/ 
AquaKana*.otf. I then started to test TT fonts from /Library/Fonts  
and /System/Library/Fonts. Xfontsel disappears from screen with  
messages like these (some fonts have much more encodings)

	pete 216 /\ xfontsel
	X Error of failed request:  BadValue (integer parameter out of range  
for operation)
	  Major opcode of failed request:  45 (X_OpenFont)
	  Value in failed request:  0x1200049
	  Serial number of failed request:  3175
	  Current serial number in output stream:  3176
	Exit 1
	pete 217 /\ xfontsel
	X Error of failed request:  BadValue (integer parameter out of range  
for operation)
	  Major opcode of failed request:  45 (X_OpenFont)
	  Value in failed request:  0x1200045
	  Serial number of failed request:  3397
	  Current serial number in output stream:  3398
	Exit 1
	pete 218 /\ xfontsel
	X Error of failed request:  BadValue (integer parameter out of range  
for operation)
	  Major opcode of failed request:  45 (X_OpenFont)
	  Value in failed request:  0x120005b
	  Serial number of failed request:  5441
	  Current serial number in output stream:  5442
	Exit 1

(which also xfd emits when trying to display) when I select any of  
these fonts:

	-apple-.aqua kana bold-semibold-r-normal--0-0-0-0-p-0-iso10646-1
	-apple-.aqua kana-light-r-normal--0-0-0-0-p-0-iso10646-1
	-apple-baghdad-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-apple-chalkboard-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-apple-chalkboard-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-apple-kailasa-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-al bayan-thin-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-applegothic-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-ayuthaya-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-decotype naskh-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-inaimathi-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-mshtakan-bold-o-normal--0-0-0-0-p-0-iso10646-1
	-misc-mshtakan-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-mshtakan-medium-o-normal--0-0-0-0-p-0-iso10646-1
	-misc-mshtakan-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-nadeem-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-raanana-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-raanana-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-sathu-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-silom-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-stfangsong-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-stheiti-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-stkaiti-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-misc-stsong-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-arial hebrew-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-arial hebrew-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-corsiva hebrew-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-corsiva hebrew-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-devanagari mt-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-devanagari mt-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-gujarati mt-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-gujarati mt-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-gurmukhi mt-medium-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-new peninim mt-bold-i-normal--0-0-0-0-p-0-iso10646-1
	-monotype-new peninim mt-bold-r-normal--0-0-0-0-p-0-iso10646-1
	-monotype-new peninim mt-medium-i-normal--0-0-0-0-p-0-iso10646-1
	-monotype-new peninim mt-medium-r-normal--0-0-0-0-p-0-iso10646-1

The Microsoft fonts behave very well...

Meanwhile I am using XQuartz 2.5.1 (xorg-server 1.8.0.902).

--
Greetings

   Pete

"Indentation?! I will show you how to indent when I indent your skull!"



More information about the Xquartz-dev mailing list