What does this mean? Xft can be initialized from X Resource?
Aidan Kehoe
kehoea at parhasard.net
Thu Nov 1 06:49:57 EDT 2007
Ar an chéad lá de mí na Samhain, scríobh It's me FKtPp ;):
> Dear developers:
>
> I configured my XEmacs use the following XFT face-font:
>
> --8<---------------cut here---------------start------------->8---
> (define-specifier-tag 'lang-cn)
> (set-face-font 'default "Bitstream Vera Sans Mono-15")
> (set-face-font 'default "SimSun-15"
> ; nil '(lang-cn) 'remove-tag-set-append)
> nil '(lang-cn) 'append)
> --8<---------------cut here---------------end--------------->8---
>
> But XEmacs always warning me as follow when it started. Does X
> Resource have anything todo with XFT font configuration?
Unfortunately it does.
> Is there anything I can do to get rid of this?
Personally I specify distinct fonts for XFT and for server-side X11 fonts
in my ~/.Xdefaults like so:
#ifdef XEMACS_XFT
XEmacs.default.attributeFont: Bitstream Vera Sans Mono-15
#else
XEmacs.default.attributeFont: "-*-andale mono-medium-r-*-*-*-85-100-100-*-*-iso8859-1"
#endif
and then before starting an XEmacs with XFT, I run
xrdb -DXEMACS_XFT < ~/.Xdefaults
which puts the earlier resource in place, instead of the later one.
--
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
More information about the XEmacs-Beta
mailing list