all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Pango-like font fallback (was Re: Russian numero sign)
Date: Fri, 24 Feb 2006 10:30:54 +0900	[thread overview]
Message-ID: <E1FCRnK-00047K-00@etlken> (raw)
In-Reply-To: <200602232237.54975.pogonyshev@gmx.net> (message from Paul Pogonyshev on Thu, 23 Feb 2006 22:37:54 +0200)

In article <200602232237.54975.pogonyshev@gmx.net>, Paul Pogonyshev <pogonyshev@gmx.net> writes:

>> But, unify-8859-on-encoding-mode should be on by default (at
>> least with CVS HEAD emacs).
>> 
>> Paul, do you turn it off intentionally?  Can you reproduce
>> this problem by starting your emacs with "-Q"?

> Uh, indeed.  I think I turned it off because of poor support of
> Cyrillic characters by the fonts...  If I start it with `-Q',
> the numero sign is automatically encodable in UTF-8 as it
> should be, but the Cyrillic characters appear as boxes which is
> of course even worse for me.

unify-8859-on-encoding-mode is not relevant how to read (or
decode) Cyrillic characters encoded in UTF-8, nor how to
display Cyrillic characters decoded into
mule-unicode-0100-24ff charset.

Do you really mean that you solved the display problem by
turning it off?

Anyway, your display problem is because of your
adobe-courier-*-iso10646-1 font doesn't support Cyrillic
characters.

Please try to select "fontset->standard" by shift-mouse1.
It makes "fixed" the default family, thus has the higher
possibility of selecting an iso10646-1 font that support
Cyrillic.

If that doesn't help, or you don't want "fixed" the default
family, please find a family name of an iso10646-1 font that
support Cyrillic, and try this:

(set-fontset-font
 "fontset-default"
 'mule-unicode-0100-24ff
 '("_HERE_COMES_FAMILY_NAME_" . "iso10646-1"))

> I wonder if Emacs could implement some smart font substitution
> when a glyph is not available in a font.

I implemented such a feature fairly long ago in
emacs-unicode-2 branch.  Unfortunately, Emacs of CVS HEAD
lacks infrastructure to support it.

---
Kenichi Handa
handa@m17n.org

  reply	other threads:[~2006-02-24  1:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 12:31 Russian numero sign Paul Pogonyshev
2006-02-20 14:07 ` Benjamin Riefenstahl
2006-02-22 19:49   ` Paul Pogonyshev
2006-02-24 12:18     ` Benjamin Riefenstahl
2006-02-23 15:22   ` Stefan Monnier
2006-02-23  7:52 ` Kenichi Handa
2006-02-23 20:37   ` Pango-like font fallback (was Re: Russian numero sign) Paul Pogonyshev
2006-02-24  1:30     ` Kenichi Handa [this message]
2006-03-05 20:31       ` Paul Pogonyshev
2006-03-07  5:11         ` Kenichi Handa
2006-03-07 20:39           ` Paul Pogonyshev
2006-03-08  1:55             ` Kenichi Handa
2006-03-08 18:16               ` Paul Pogonyshev
2006-03-14  2:27                 ` Kenichi Handa
2006-06-04 10:56                   ` Paul Pogonyshev
2006-06-05 12:56                     ` Kenichi Handa
2006-06-05 14:07                       ` Paul Pogonyshev

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=E1FCRnK-00047K-00@etlken \
    --to=handa@m17n.org \
    --cc=emacs-devel@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.