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

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

bug#5883: [Aquamacs-bugs] Re: incorrect fontification of non-ascii chars


From: YAMAMOTO Mitsuharu
Subject: bug#5883: [Aquamacs-bugs] Re: incorrect fontification of non-ascii chars on Mac OS X 10.4
Date: Thu, 08 Apr 2010 17:00:32 -0000

>>>>> On Fri, 01 Jul 2005 11:15:57 -0400, Stefan Monnier 
>>>>> <monnier@iro.umontreal.ca> 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
codepoint to another codepoint.  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
                                mituharu@math.s.chiba-u.ac.jp








reply via email to

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