From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pierre Albarede Newsgroups: gmane.emacs.help Subject: Re: problem displaying latin accents with emacs and mac os X Date: Tue, 18 Mar 2003 11:04:52 +0100 Organization: Guest of ProXad - France Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E76EF44.6080806@free.fr> References: <3E763E52.6070009@free.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1047984167 11424 80.91.224.249 (18 Mar 2003 10:42:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2003 10:42:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 18 11:08:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vDzG-00089r-00 for ; Tue, 18 Mar 2003 11:06:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vDyT-0000Nz-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2003 05:05:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Date: 18 Mar 2003 11:04:25 MET Original-NNTP-Posting-Host: 62.147.112.198 Original-X-Trace: 1047981865 news2-1.free.fr 29120 62.147.112.198:49485 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:111175 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7676 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7676 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.