emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: [Aquamacs-bugs] Re: incorrect fontification of non-ascii chars on Ma


From: YAMAMOTO Mitsuharu
Subject: Re: [Aquamacs-bugs] Re: incorrect fontification of non-ascii chars on Mac OS X 10.4
Date: Sat, 02 Jul 2005 14:04:33 +0900
User-agent: Wanderlust/2.14.0 (Africa) 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)

(My original reply was not delivered to emacs-pretest-bug by a mistake
 on my side, so I resend this mail (with a few correction).  I'm sorry
 about the duplicated mail delivered to the other recipients.)

>>>>> On Fri, 01 Jul 2005 11:15:57 -0400, Stefan Monnier <address@hidden> said:

> And the other mapping tools (i.e. the use of a CCL encoder for the
> font encoding) are not a solution because they do not lift the basic
> assumption that each charset is covered by at most one font?

A fontset maps a character to a font, and a CCL encoder maps a
character to a codepoint (in a single font).  Actually, the variable
font-ccl-encoder-alist is used for that purpose in mac-win.el.

>> "fontset-mac" is supposed to be such a fontset, and it is used by
>> default.

> Hmm... so the complaints we hear are from people who want to use
> another default font?  Would there be a way to tweak things such
> that changing the font of the default face (or of the frame, ...)
> automatically/transparently builds a sensible new fontset?

It may not be automatic or transparent, but customizing the default
font is as simple as

  (add-to-list
   'default-frame-alist
   `(font . ,(create-fontset-from-mac-roman-font
              "-*-FAMILY-medium-r-normal--SIZE-*-*-*-*-*-mac-roman")))

or

  $ defaults write org.gnu.Emacs Emacs.font 
'-*-FAMILY-medium-r-normal--SIZE-*-*-*-*-*-mac-roman'

and not so different from other platforms, I think.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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