From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.devel Subject: Re: [Q] GNu Emacs/MacOS X/Font Encoding Date: Thu, 08 May 2003 12:41:49 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1052420517 1188 80.91.224.249 (8 May 2003 19:01:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 May 2003 19:01:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 08 21:01:56 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19DqdN-0000G1-00 for ; Thu, 08 May 2003 21:00:49 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Dqhx-0004Rm-00 for ; Thu, 08 May 2003 21:05:33 +0200 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 19DqbP-0002LE-07 for emacs-devel@quimby.gnus.org; Thu, 08 May 2003 14:58:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19DqV5-0008KB-00 for emacs-devel@gnu.org; Thu, 08 May 2003 14:52:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19DqS2-00071x-00 for emacs-devel@gnu.org; Thu, 08 May 2003 14:49:07 -0400 Original-Received: from shawidc-mo1.cg.shawcable.net ([24.71.223.10] helo=pd3mo3so.prod.shaw.ca) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19DqNC-0005WE-00 for emacs-devel@gnu.org; Thu, 08 May 2003 14:44:06 -0400 Original-Received: from pd3mr2so.prod.shaw.ca (pd3mr2so-ser.prod.shaw.ca [10.0.141.178])2003)) with ESMTP id <0HEK00HMCZY2KK@l-daemon> for emacs-devel@gnu.org; Thu, 08 May 2003 12:42:02 -0600 (MDT) Original-Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca [10.0.121.7]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEK003IFZY2K4@l-daemon> for emacs-devel@gnu.org; Thu, 08 May 2003 12:42:02 -0600 (MDT) Original-Received: from owlbear.local.shawmail (h68-144-207-94.cg.shawcable.net [68.144.207.94]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEK00DINZY1K9@l-daemon> for emacs-devel@gnu.org; Thu, 08 May 2003 12:42:02 -0600 (MDT) In-reply-to: Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Lines: 60 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13768 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13768 Rolf Marvin B=F8e Lindgren writes: > the characters I typed were =E6 =F8 =E5 =C6 =C5 =D8. the output was >=20 > c with acute accent > r with hacek > l with acute accent >=20 > C with acute accent > R with hacek > L with acute accent >=20 > the internal representation is correct. when I set the font back to > "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-1" the character > were displayed as expected. this is a character display/font issue, > then, not a keyboard input issue. >=20 > this also goes for alt characters: I get the expected result with the > default font, or with any font when switched back to the default font. >=20 > I use a Norwegian (equivalent to Danish) keyboard. I'm sorry I still cannot repeat the problem. This is what I did. I saved your post in a file. It contains the letters (in Latin 1 encoding) =E6 =F8 =E5 =C6 =C5 =D8 which are the letters next to `L' and `P' on the Norwegian keyboard. I then run the May 2 version of Emacs from CVS from command line as follows (the specific path is just where it is on my machine). Documents/Emacs/emacs/mac/Emacs.app/Contents/MacOS/Emacs -q Visited the saved file. The letters show up fine. Then I evaluate the expression (set-default-font "-etl-fixed-medium-r-normal--12-120-75-75-m-120-iso8859= -1") Those letters are still displayed correctly (they're in 14-point fixed now). Then I evaluate (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") and then (set-frame-font "fontset-monaco") Those letters are still displayed correctly (they're in 9-point Monaco now). Could you please repeat these steps and see if you get the same results? Please use a recent CVS version. Also this question may be more suitable elsewhere, like gnu.emacs.help.