emacs-devel
[Top][All Lists]
Advanced

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

[Q] GNu Emacs/MacOS X/Font Encoding


From: Rolf Marvin Bøe Lindgren
Subject: [Q] GNu Emacs/MacOS X/Font Encoding
Date: Thu, 08 May 2003 12:28:37 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

of late, tried and true mans to make GNU Emacs for MacOS X use Latin 1
rather than MacRoman have failed to work.  my .emacs, given the
following, will read Latin 1 from the keyboard and write Latin 1 to
files:

; --------
(set-language-environment "Latin-1") 
(set-keyboard-coding-system 'iso-latin-1)
(if (string= window-system "mac") 
    (setq mac-keyboard-text-encoding kTextEncodingISOLatin1))
(set-input-mode 
 (car (current-input-mode)) 
 (nth 1 (current-input-mode)) 
 0 
 7) 
(set-default-font 
 "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-1")
; --------

but any change at all to font selection results in Latin 1 no longer
being read from the keyboard!  

the invocation

(set-default-font 
 "-etl-fixed-medium-r-normal--12-120-75-75-m-120-iso8859-1")

gives small sweet characters but with MacRoman encoding.  the following
invocation also used to provde Latin 1 keybard input (verbatim from the
FAQ), but currently, no go:

; --------
  (create-fontset-from-fontset-spec
"-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco,
ascii:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman,
latin-iso8859-1:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman")
(set-frame-font "fontset-monaco")
; --------

any and all clues greatly appreciated!

-- 
Rolf Lindgren                                            http://www.roffe.com/
address@hidden




reply via email to

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