[Top][All Lists]

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

Re: [Emacs-diffs] emacs/src fontset.c

From: Kenichi Handa
Subject: Re: [Emacs-diffs] emacs/src fontset.c
Date: Thu, 12 Mar 2009 09:41:41 +0900

In article <address@hidden>, Chong Yidong <address@hidden> writes:

> Kenichi Handa <address@hidden> writes:
> > Please try again.  I committed all changes.

> What is the purpose of these latest changes?

To fix this problem reported a while ago:

In article <address@hidden>, "Qichen Huang" <address@hidden> writes:

> run emacs without any extra settings: runemacs.exe -Q

> (set-fontset-font
>  "fontset-startup" 'ascii  ;; or 'latin
>  "-*-Courier New-*-*-*-*-17-*-*-*-*-*-iso8859-1")

> or

> (set-fontset-font (frame-parameter nil 'font)
>                 'ascii  ;; or 'latin
>                 (font-spec :family "Courier New" :size 17))

> Neither work.

In the new code, when a font for ASCII is changed in a
fontset, the default font is changed to that new font in all
frames that are using the same fontset.

By the way, after the following change, (frame-parameter nil
'font) doesn't return a fontset of the current frame.

2009-01-14  Jason Rumney  <address@hidden>

        * frame.c (x_set_font): Always store a font to the font parameter,
        never a fontset.  (Bug#1562)

Now the right way to get a fontset is:
   (face-attribute 'default :fontset)

Kenichi Handa

reply via email to

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