[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Auto-creating fontsets based on non-Latin-1 fonts

From: Kai Großjohann
Subject: Auto-creating fontsets based on non-Latin-1 fonts
Date: Mon, 06 May 2002 15:38:20 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.50 (i686-pc-linux-gnu)

I used to have all locale settings equals C, and then I put
(set-language-environment "Latin-1") in ~/.emacs.  Now I changed it
such that address@hidden, and I removed the
set-language-environment statement.

I also changed the Emacs.font X resource from a *-iso8859-1 font to a
*-iso8859-15 font.  (I did this because I use the same font
everywhere, and I thought that the encoding of the font should agree
with the charset I want to use.)

After this, Emacs used the *-iso8859-15 font for displaying iso-8859-1
characters.  (So I saw a Euro sign instead of the currency sign, for

I think I want a change in the way that Emacs interprets the
Emacs.font resource.  I'm not sure exactly what change, though.

When constructing a fontset automatically, Emacs could either look at
the LC_CTYPE locale setting and interpret Emacs.font according to
that.  Or, Emacs could look at the font name and infer the encoding
from that.

But I feel that it is natural that people setting LC_CTYPE to use the
foo encoding will also set Emacs.font to a font in the foo encoding,
instead of Latin-1.  Or is my mind working in a very strange way?

Silence is foo!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]