[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fontset(s) in xemacs 21.1.8



"Stephen J. Turnbull" <turnbull@sk.tsukuba.ac.jp> writes:

> >>>>> "Kazz" == Kazuyuki IENAGA <kazz@imasy.or.jp> writes:
> 
>     Kazz> So I guess you'll be satisfied to have (set-face-font
>     Kazz> 'default ....)  in your startup file (.emacs) as below:
> 
>     Kazz> (when (and (fboundp 'console-on-window-system-p)
>     Kazz>            (console-on-window-system-p))
> 
> Is this a good idea?  Isn't just doing
> 
>     Kazz>     (set-face-font
>     Kazz>      'default
>     Kazz>      '( .... fonts you want .... )
> 
> and then
>                'global '(mule-fonts x) 'prepend)
> 
> preferable?

Yes preferable.  But it has problem unfortunately.
You'll get message "Invalid tag set: (mule-fonts x)" when you invoke
"xemacs -nw".

Recently (maybe from 21.2.1x?) I need to put the font specifying
into 'after-init-hook.  Otherwise I'll get boldish X fonts as below.
I'm not sure that my X environment makes this (but 21.1.x is ok).

(add-hook 'after-init-hook
        '(lambda ()
           (if (and (eq 'x (device-type)) (featurep 'mule))
              (set-face-font ....

GIF image


Reply to: