all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs and fontsets
@ 2004-09-20 16:29 Tassilo Horn
  2004-09-20 16:55 ` zrr
       [not found] ` <mailman.3370.1095699728.1998.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Tassilo Horn @ 2004-09-20 16:29 UTC (permalink / raw)


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);}

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-21 10:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-20 16:29 Emacs and fontsets Tassilo Horn
2004-09-20 16:55 ` zrr
     [not found] ` <mailman.3370.1095699728.1998.help-gnu-emacs@gnu.org>
2004-09-20 18:15   ` Tassilo Horn
2004-09-21  9:25     ` Sebastien Kirche
2004-09-21 10:05       ` Tassilo Horn

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.