help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Some question about fontsets


From: Oliver Scholz
Subject: Re: Some question about fontsets
Date: Sat, 03 May 2003 04:47:21 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux)

wang yin <address@hidden> writes:
[...]
> C-u C-x = gives the information:
>
>   character: ɑ (01210721, 332241, 0x511d1)
>     charset: mule-unicode-0100-24ff
>            (Unicode characters of the range U+0100..U+24FF.)
>  code point: 35 81
>      syntax: word
>    category:
> buffer code: 0x9C 0xF4 0xA3 0xD1
>   file code: 0x9C 0xF4 0xA3 0xD1 (encoded by coding system emacs-mule-unix)
>        font: -Adobe-Courier-Medium-R-Normal--14-140-75-75-M-90-ISO10646-1
>
> I've read the Emacs manual about the fontsets, and set my fontset 
> in ~/.Xdefaults as follows:
>
> Emacs.Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-wangyin,\
>         chinese-gb2312:-*-simsun-medium-r-normal-*-24-*-gb2312*-*,\
>       mule-unicode-0100-24ff:-b&h-*-*-r-*-*-14-*-*-*-*-*-iso10646-*
>
> Emacs.Font: fontset-wangyin
>
> But it still can't be displayed properly.
> I use the describe-fontset function but I get the error:
> "Current frame is using font, not fontset"
[...]

Two notes:

1. I may be wrong, but I think that with the standard fonts under X
   it is not very likely that there is a b&h-font that covers the IPA
   characters. I suggest, that you try something like this, instead:

Emacs.Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-wangyin,\
        chinese-gb2312:-*-simsun-medium-r-normal-*-24-*-gb2312*-*,\
        
mule-unicode-0100-24ff:-misc-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1

2. It seems that either this setting does not take effect or somewhere
   in your .emacs or somewhere else the default face is changed to
   "Adobe-Courier" again. To make sure, please post the output of 
   `M-x describe-face RET default RET' (the signifant line is 
   "Font or fontset: ...").

   Did you customize your default font? Or do you--per
   chance--override the setting you posted in you .Xdefaults again?
   You could also try to make sure that the settings take effect by
   invoking "xrdb ~/.Xdefaults" from an xterm and restarting Emacs.

    Oliver
-- 
14 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]