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

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

Emacs and fontsets


From: Tassilo Horn
Subject: Emacs and fontsets
Date: Mon, 20 Sep 2004 18:29:28 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Hi,

I use a two weeks old CVS Emacs. I want to get it display unicode chars
in a different font than "normal" ascii text. I've put these line in my
~/.Xdefaults:

,----
| Emacs*Font: fontset-normal 
| Emacs*Fontset-0:\
|  -xos4-terminus-medium-*-*-*-14-*-*-*-*-*-fontset-normal,\
| mule-unicode-2500-33ff: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1,\
| mule-unicode-e000-ffff: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1,\
| mule-unicode-0100-24ff: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1
`----


When I start emacs now the font really is xos4-terminus-..., but unicode
chars aren't displayed (only squares). 

When I open a file with normal text and unicode chars, move the point
over a text part and do `C-u C-x =' I get:

,----
|   character: ( (050, 40, 0x28, U+0028)
|     charset: ascii (ASCII (ISO646 IRV))
|  code point: 40
|      syntax: () which means: open, matches )
|    category: a:ASCII   l:Latin  
| buffer code: 0x28
|   file code: 0x28 (encoded by coding system mule-utf-8-unix)
|     display: by this font (glyph code)
|      -xos4-Terminus-Medium-R-Normal--14-140-72-72-C-80-ISO8859-1 (0x28)
| 
| There is an overlay here:
|  From 14 to 15
|   semantic  ("setq" code nil nil #<overlay from 361 to 397 in .gnus.el>)
| 
| 
| 
| There are text properties here:
|   face    [nil]
|   fontified t
`----

When I move it over such an undisplayed unicode char and press `C-u C-x
=' I get:

,----
|   character: ? (01110040, 299040, 0x49020, U+2500)
|     charset: mule-unicode-2500-33ff (Unicode characters of the range
|     U+2500..U+33FF.)
|  code point: 32 32
|      syntax: w  which means: word
| buffer code: 0x9C 0xF2 0xA0 0xA0
|   file code: 0xE2 0x94 0x80 (encoded by coding system mule-utf-8-unix)
|     display: no font available
| 
| There is an overlay here:
|  From 14 to 15
|   semantic  ("if" code nil nil #<overlay from 6007 to 6600 in .gnus.el>)
| 
| 
| 
| There are text properties here:
|   face                 [font-lock-string-face]
|   fontified            t
`----

What's the mistake? What do I have to change, to get the unicode chars
displayed in -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1?

Regards and much thanks in advance,
Tassilo
-- 
main(){printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}

reply via email to

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