[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special Characters on Mac Emacs

From: YAMAMOTO Mitsuharu
Subject: Re: Special Characters on Mac Emacs
Date: Fri, 25 Mar 2005 15:48:19 +0900
User-agent: Wanderlust/2.12.2 (99 Luftballons) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Thu, 24 Mar 2005 13:50:02 +0100, Sébastien Kirche <address@hidden> 
>>>>> 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") ?

> 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
 - There is an easier way to do without messing up
   create-fontset-from-fontset-spec entries *if you don't care about
   wrong glyph*.

> 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.

> 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.

(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.*")))

                                     YAMAMOTO Mitsuharu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]