all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: 11889@debbugs.gnu.org
Subject: bug#11889: Further info...
Date: Wed, 11 Jul 2012 00:36:33 +0300	[thread overview]
Message-ID: <878ver2t9a.fsf@desktop.home.int> (raw)
In-Reply-To: <87r4sl9hyy.fsf@desktop.home.int>

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!





  parent reply	other threads:[~2012-07-10 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09 13:33 bug#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 Oleksandr Gavenko
2012-07-09 21:31 ` Juri Linkov
2012-07-10 11:24   ` Oleksandr Gavenko
2012-07-10 21:36 ` Oleksandr Gavenko [this message]
2012-07-11  0:09   ` bug#11889: Further info Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ver2t9a.fsf@desktop.home.int \
    --to=gavenkoa@gmail.com \
    --cc=11889@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.