all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Auto-creating fontsets based on non-Latin-1 fonts
@ 2002-05-06 13:38 Kai Großjohann
  0 siblings, 0 replies; only message in thread
From: Kai Großjohann @ 2002-05-06 13:38 UTC (permalink / raw)


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 LC_CTYPE=de_DE@euro, 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
example.)

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?

kai
-- 
Silence is foo!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-06 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-06 13:38 Auto-creating fontsets based on non-Latin-1 fonts Kai Großjohann

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.