unofficial mirror of emacs-devel@gnu.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: Tue, 14 Mar 2006 11:27:04 +0900	[thread overview]
Message-ID: <E1FIzFY-0007hz-00@etlken> (raw)
In-Reply-To: <200603082016.37147.pogonyshev@gmx.net> (message from Paul Pogonyshev on Wed, 8 Mar 2006 20:16:36 +0200)

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

> I went to install all the fonts I could find in my Debian Sarge.  And
> found cronyx-courier font, which looks nice _and_ has Cyrillic
> characters.  However, when I customize the default face in Emacs and
> set that font family, latin characters are still displayed in
> adobe-courier (though Cyrillic ones are shown in cronyx-courier)...
> And the customization doesn't take any effect after I restart Emacs...
> Any ideas?

Perhaps that because you don't have
-cronyx-courier-...-iso8859-1.  Emacs by default uses an
iso8859-1 font for ASCII.  To change it, you must create a
proper fontset by one of these ways:

(1) In your .emacs:

(create-fontset-from-fontset-spec
 "-cronyx-courier-medium-r-normal--17-*-*-*-m-*-fontset-cronyx17,
ascii:-cronyx-courier-medium-r-normal--17-*-*-*-m-*-iso10646-1")

Then, after you start Emacs, by selecting fontset-cronyx17
with s-mouse-1->fontset->cronyx17, Emacs change the default
fonts to cronyx-courier.

(2) Setting X resource:

When you set these resources,

Emacs.Fontset-0: -cronyx-courier-medium-r-normal--17-*-*-*-m-*-fontset-cronyx17,\
!ascii:-cronyx-courier-medium-r-normal--17-*-*-*-m-*-iso10646-1

Emacs.Font: fontset-cronyx17

you can start emacs automatically with a proper font.

Another one time way is to start Emacs as this:

% emacs -fn -cronyx-courier-medium-r-normal--17-*-*-*-m-*-iso10646-1

---
Kenichi Handa
handa@m17n.org

  reply	other threads:[~2006-03-14  2:27 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1FIzFY-0007hz-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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).