empty charset registry?

Aidan Kehoe kehoea
Sat Nov 11 09:54:32 EST 2006


 Ar an seacht? l? de m? na Samhain, scr?obh Ilya N. Golubev: 

 > > (set-charset-registry 'latin-iso8859-1 "charset-registry-of-desired-font")
 > As described, charset registry being empty string allowed to display
 > at the *same* time the same buffer text in *different* frames /
 > windows in different fonts specified per locale (as in specifiers).
 > So this is not even a way around.

Does this do what you want? 

(set-charset-registries 'latin-iso8859-1
			["charset-registry of first desired font"
			 "charset-registry of second desired font"
                         "charset-registry of third desired font"
			 "iso8859-1"])

(set-face-font 'default
	       "initial-part-of-xlfd-charset-registry-of-first-desired-font"
	       first-desired-locale)
(set-face-font 'default
	       "initial-part-of-xlfd-charset-registry-of-second-desired-font"
	       second-desired-locale)
(set-face-font 'default
	       "initial-part-of-xlfd-charset-registry-of-third-desired-font"
	       third-desired-locale)

(set-face-font 'default
	       "desired default font"
	       'global)
	


 > Another issue is that not all X servers represent all their fonts in
 > XLFD.  Used at least one where `8x14pc437' font could be specified
 > only with this string.  So there still have to be a way to specify
 > non- XLFD font name in X.

No; you can add a fonts.alias entry for that font to your X11 server
configuration, mapping it to a sane name. 

-- 
Santa Maradona, priez pour moi!



More information about the XEmacs-Beta mailing list