help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Swedish letters in outline-mode under GNU Emacs 22.0.50.1


From: Peter Dyballa
Subject: Re: Swedish letters in outline-mode under GNU Emacs 22.0.50.1
Date: Wed, 22 Mar 2006 11:33:15 +0100


Am 22.03.2006 um 10:15 schrieb Nordlöw:

1. I cannot get the swedish letters (åäöÅÄÖ) to be rendered in
outline-mode, eventhough they work in text and C mode. Instead they are
drawng in another color as their octal values \366, \344 etc.

This could be a problem with fonts, fontsets, and environment variables, particularly LC_CTYPE (LANG might be useful too).

In X11 it might be helpful to have some Unicode encoded TrueType fonts, Bitstream Vera for example, Lucida from Java, the free MS fonts for the web (containing Courier, http:// corefonts.sourceforge.net/), or others (http://www.alanwood.net/ unicode/fonts.html, http://www-cgrl.cs.mcgill.ca/~luc/ fontsoftware.html, ...) available, and used! I create from these fontsets (some examples were posted in this list, you'll find them in the archive, this and last year) and use only them, as in:

        (require 'site-fontsets-x11)
(modify-coding-system-alist 'process "\\*shell\\*\\'" 'utf-8- unix)
        (modify-coding-system-alist 'file "\\.tex\\'" 'iso-latin-9)
        (setq default-buffer-file-coding-system 'utf-8-unix)
        (prefer-coding-system                   'utf-8-unix)
        (setq initial-frame-alist '(
          (border-color     . "#4e3832")
          (foreground-color . "grey10")
          (background-color . "PaleTurquoise1")
          (active-alpha     . 0.875)
          (inactive-alpha   . 0.75)
          (font . "fontset-10pt_lucidatypewriter")
          (top . 5) (left . 500) (width . 106) (height . 50))
        )
        (setq default-frame-alist '(
          (background-color     . "LightCyan1")
          (cursor-color         . "purple")
          (cursor-type          . box)
          (foreground-color     . "grey10")
          (vertical-scroll-bars . left)
          (active-alpha         . 0.875)
          (inactive-alpha       . 0.75)
          (font . "fontset-11pt_adobe_courier")
          (top . 25) (left . 50) (width . 89) (height . 50))
        )

Most coding system issues are correctly set via LC_CTYPE, which in my case is de_DE.UTF-8.

--
Greetings

  Pete

"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)






reply via email to

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