all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Albarede <albanews@free.fr>
Subject: Re: problem displaying latin accents with emacs and mac os X
Date: Tue, 18 Mar 2003 11:04:52 +0100	[thread overview]
Message-ID: <3E76EF44.6080806@free.fr> (raw)
In-Reply-To: ur89563mk.fsf@ni.com

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.

  reply	other threads:[~2003-03-18 10:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 21:29 problem displaying latin accents with emacs and mac os X Pierre Albarede
2003-03-17 22:16 ` Peter Ilberg
2003-03-18 10:04   ` Pierre Albarede [this message]
2003-03-18  7:54 ` Erik Simon
     [not found] ` <mailman.3314.1047975222.21513.help-gnu-emacs@gnu.org>
2003-03-18 10:07   ` Pierre Albarede
2003-03-18 12:51   ` Pierre Albarede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E76EF44.6080806@free.fr \
    --to=albanews@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.