[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem displaying latin accents with emacs and mac os X
From: |
Pierre Albarede |
Subject: |
Re: problem displaying latin accents with emacs and mac os X |
Date: |
Tue, 18 Mar 2003 11:04:52 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
Thanks a lot to Peter.
My mistake was not to look into fontset. I was afraid it would not work
because I do not have x, but it does. This sounds logical, since this is
emacs, not xemacs.
The mac has no iso8859-1 native font. emacs takes glyphs from mac-roman
fonts to compose a iso8859-1 fontset.
The largest possible monaco size is 14, but, as monaco is bigger than
courier, this is just large enough for me.
To get it,
(create-fontset-from-fontset-spec
"-apple-monaco-medium-r-normal--14-*-*-*-*-*-fontset-monaco,
ascii:-apple-monaco-medium-r-normal--14-*,
latin-iso8859-1:-apple-monaco-medium-r-normal--14-*")
M-x set-frame-font fontset-monaco
or, in .emacs,
(when (and (boundp carbon-emacsp) carbon-emacsp)
(setq default-frame-alist '((width . 80)
(height . 38)
(font . "fontset-monaco")
))
(setq initial-frame-alist default-frame-alist)
)
-apple-courier does not exist either in size between 14 (too small) and
18 (too big)
emacs needs fixed-sized
available are andale-mono courier courier new monaco VT100
(check in textedit police menu rather than emacs)
none in size 16
some in size 0
I am too lazy to try size 0.
M-x list-fontsets
Fontset: -apple-courier-medium-r-normal--14-*-*-*-*-*-fontset-courier
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -etl-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-mac
Fontset: -apple-monaco-medium-r-normal--14-*-*-*-*-*-fontset-monaco
fontset-mac is misleading since there are no etl fonts on the mac.
etl fonts are in the GNU intl fonts package, but install needs some x*
commands that I do not have.
I somebody wants to discuss this, I am curious. Good bye.