From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: Re: Special Characters on Mac Emacs Date: Wed, 30 Mar 2005 19:43:01 -0800 Message-ID: <7fe37805c215e57ae84290a4788b28b1@mac.com> References: <85zmwragdc.fsf@obelix.seki.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1112242374 27782 80.91.229.2 (31 Mar 2005 04:12:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2005 04:12:54 +0000 (UTC) Cc: =?ISO-8859-1?Q?S=E9bastien_Kirche?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 31 06:12:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGr2p-0003oh-2g for ged-emacs-devel@m.gmane.org; Thu, 31 Mar 2005 06:12:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGrIT-0000YY-Hp for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2005 23:28:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGrIE-0000Wd-Fu for emacs-devel@gnu.org; Wed, 30 Mar 2005 23:28:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGrI5-0000RZ-MG for emacs-devel@gnu.org; Wed, 30 Mar 2005 23:28:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGrI4-0000KE-UH for emacs-devel@gnu.org; Wed, 30 Mar 2005 23:28:20 -0500 Original-Received: from [17.250.248.86] (helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DGqaL-0008CE-9I for emacs-devel@gnu.org; Wed, 30 Mar 2005 22:43:09 -0500 Original-Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/8.12.11/smtpout04/MantshX 4.0) with ESMTP id j2V3h44F010079; Wed, 30 Mar 2005 19:43:06 -0800 (PST) Original-Received: from [10.0.1.201] ([67.174.235.79]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id j2V3h2JA004610; Wed, 30 Mar 2005 19:43:03 -0800 (PST) In-Reply-To: Original-To: YAMAMOTO Mitsuharu X-Mailer: Apple Mail (2.619.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35402 ATSUI means a rewrite of a large portion of the display code, with the =20= benefit that it will display all unicode characters consistently. The =20= change from the emacs-unicode-2 branch for storing the internals as =20 unicode will dramatically reduce the cost of implementing this feature. However, I'm having much difficulty in keeping the font specificationss =20= consistent between quickdraw and ATSUI (let alone the near =20 impossibility of determining glyph widths in a manner that's fast). =20 I'll have to write this up and send it around. -Steven On Mar 25, 2005, at 9:00 PM, YAMAMOTO Mitsuharu wrote: >>>>>> On Fri, 25 Mar 2005 16:34:55 +0100, S=E9bastien Kirche =20 >>>>>> said: > >>> I suppose no characters in mule-unicode-2500-33ff is accessible >>> from QuickDraw Text API that Carbon Emacs is currently using for >>> drawing text, at least when using with bundled fonts. > >> What i can't figure out is that within OSX you can have any unicode >> char you want providing that the application is unicode compliant >> and that character is accessible at least from the system character >> palette. > >> But for Emacs there is that strange remapping for parts of the >> unicode set. So some chars are ok and some not. > > Quote from "Internationalizing Your Software: File Encodings and =20 > Fonts": > http://developer.apple.com/documentation/MacOSX/Conceptual/=20 > BPInternational/Concepts/FileEncodings.html > > Carbon and QuickDraw Issues > > If you have existing QuickDraw code and want to draw text, you > should be aware that the QuickDraw Text routines do not directly > support Unicode. > : > The fonts that are installed with Mac OS X have large character sets > supporting a wide range of encodings and scripts. For example, > Lucida, the system font, supports extended Latin, Greek, Cyrillic, > Arabic, Hebrew, and Thai. But if you draw text through QuickDraw > Text, you have access only to the MacRoman repertoire. To access the > rest, you must use Cocoa or ATSUI. > > Steven Tamm is working on ATSUI support, and he is planning to add it > to the unicode branch. I also think that it is not time to add such a > drastic change into the upcoming release version. My change about > Central European and Cyrillic display support is a "stopgap" that is > intended not to change existing mechanisms. > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel