From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?q?S=E9bastien_Kirche?= Newsgroups: gmane.emacs.devel Subject: Re: Special Characters on Mac Emacs Date: Fri, 25 Mar 2005 16:34:55 +0100 Organization: Aucune. Message-ID: <85zmwragdc.fsf@obelix.seki.fr> References: Reply-To: =?iso-8859-15?q?S=E9bastien_Kirche?= NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1111766332 10444 80.91.229.2 (25 Mar 2005 15:58:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2005 15:58:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 25 16:58:52 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DErCs-0006Tp-UO for ged-emacs-devel@m.gmane.org; Fri, 25 Mar 2005 16:58:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DErSO-0006SR-LN for ged-emacs-devel@m.gmane.org; Fri, 25 Mar 2005 11:14:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DErRN-00061Z-Mn for emacs-devel@gnu.org; Fri, 25 Mar 2005 11:13:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DErPQ-0005ce-4W for emacs-devel@gnu.org; Fri, 25 Mar 2005 11:11:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DErPK-0005RL-K2 for emacs-devel@gnu.org; Fri, 25 Mar 2005 11:11:34 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DEqrT-00050L-QF for emacs-devel@gnu.org; Fri, 25 Mar 2005 10:36:36 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DEqq6-0002eF-Gt for emacs-devel@gnu.org; Fri, 25 Mar 2005 16:35:10 +0100 Original-Received: from 82.249.191.10 ([82.249.191.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Mar 2005 16:35:10 +0100 Original-Received: from sebastien.kirche by 82.249.191.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Mar 2005 16:35:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 80 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 82.249.191.10 X-Face: ; T}O6aj2o*d:|9po%NCuYvExN3]<#cHr0"FaWCh[}WVn6&@L)YWO'&6AO5Ex:MX=H; .^e}o Td*OaFQEBc_xu%+ChwRl!KK`I'["$^aO1gIN{4OyBdO@1HHD5YO#[kiVCk|/-|mmYnU8yTp+eOv."d 1.G3; ro0Q/`,UY+vY/#5b/{OYxE+X\)tc~p~1vbmZ!o4sciW+e8MW|Pz|nl`l*}]8[#1zQO"]d2*{d wrTKu]5t*Gy_pm3e8o=:(c_ju'zlQ<[oJ|\XjgQQmWZC7S]-Fmp\eBHnBO']/te~/; \@l" D#:h)8Q User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:1WeZhtH8HzlIDaq1BQsW+Xjf2Q4= 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:35150 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35150 Le 25 mar 2005, YAMAMOTO Mitsuharu a formulé : > > > > > > On Thu, 24 Mar 2005 13:50:02 +0100, Sébastien Kirche > > > > > > said: > > > - following your example M-: (set-frame-font > > (create-fontset-from-mac-roman-font > > "-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman")) > > > I can see that the frame briefly flashes then it redisplays with the > > etl font. > > I couldn't reproduce (even after installing ETL fonts from > http://members.shaw.ca/akochoi-emacs/stories/resources.html). If you > tried without -Q option, could you try again with it? Also, could you > show the result of (describe-font-set "fontset-mac_roman_9") ? Yes i will show it, but you will have to wait 4 days until Tuesday because it is Easter weekend and this Friday is holiday in my area (my G4 is at work). > > I also added the custom-set-variables for > > face-font-registry-alternatives as you advised. > > No, no. I didn't recommend that. What I wanted to say is: > > - The create-fontset-from-fontset-spec example introduces wrong > glyph. > - There is an easier way to do without messing up > create-fontset-from-fontset-spec entries *if you don't care about > wrong glyph*. Oh ? OK. I'll remove that. > > I have noticed formerly that some characters displays correctly > > (euro, eastern Europe languages) but many fail in the range > > 2500-33ff and display instead some Cyrillic. > > 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. I will try to help as i can to fix that. > > Could you give an example of a full fontset definition ? > > I'm not quite sure what you mean by "a full fontset definition". > Anyway, the font setting in my ~/.emacs is as follows. I meant a working one :) I built mine with the help of the documentation and by picking some bits from the web with lots of try and errors. Given the fact that some parts (mule-unicode) are not fully functionnal, i was not sure that my definition is correct. You pointed that it is not. > (when (eq window-system 'mac) > (add-to-list 'default-frame-alist > `(font . ,(create-fontset-from-mac-roman-font "-apple-lucida > sans > typewriter-medium-r-normal--10-100-75-75-m-100-mac-roman"))) > (setq face-font-rescale-alist '(("^-apple-.*-jisx02" . 1.2))) > (set-fontset-font "fontset-default" 'japanese-jisx0208 > '("ヒラギノ角ゴ*" . "jisx0208.*")) > (set-fontset-font "fontset-default" 'katakana-jisx0201 > '("ヒラギノ角ゴ*" . "jisx0201.*"))) Interesting : i never noticed the face-font-rescale-alist parameter. Thank you. -- Sébastien Kirche