GNU bug report logs -
#11889
23.4; Emacs 23.4.1 jump from one font to another ever all needed chars precent in single font. 22.2.1 work fine.
Previous Next
Full log
View this message in rfc822 format
After learning about fonts in Emacs I found that wrong in my setup. I write
about this at:
http://thread.gmane.org/gmane.emacs.help/85735
where I originally ask question.
So main problem - I don't know how debug issue, so anything happen look
magical to me.
Now I discover such tools:
$ xfontsel -sampleUCS 'əθʃçʧ θʒtð Hello Привет!'
$ gucharmap
With this tools I look for fonts that support all range of needed by me chars.
As I learn there are 4 different char types involved: ASCII, Greek, Cyrillic
and IPA.
Fonts in my previous report have holes or look wrongly for certain chars.
After setting at Emacs boot time in ~/.Xdefaults:
emacs.font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1
or in running Emacs instance:
(set-frame-font "-misc-fixed-medium-r-normal--14-*-*-*-c-*-iso10646-1")
(set-fontset-font "fontset-default" 'latin
"-misc-fixed-medium-r-normal--14-*-*-*-c-*-iso10646-1")
(set-fontset-font "fontset-default" 'phonetic
"-misc-fixed-medium-r-normal--14-*-*-*-c-*-iso10646-1")
(set-fontset-font "fontset-default" 'cyrillic
"-misc-fixed-medium-r-normal--14-*-*-*-c-*-iso10646-1")
(set-fontset-font "fontset-default" 'greek
"-misc-fixed-medium-r-normal--14-*-*-*-c-*-iso10646-1")
I get monospaced and **SAME** font for desired range of chars!
Also this command also help me:
(pp (char-table-extra-slot char-script-table 0))
I think bug can be closed. Except part that Emacs algorithm for selecting font for
missing chars is too dumb and give ugly results (one example is C code with
comments on Russian - with different font for EN/RU text I lost indenting).
Thanks to Juri Linkov for assistant!
--
Best regards!
This bug report was last modified 12 years and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.