emacs-devel
[Top][All Lists]
Advanced

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

Re: Default face problem


From: Kenichi Handa
Subject: Re: Default face problem
Date: Mon, 08 May 2006 20:50:21 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, address@hidden (Kim F. Storm) writes:
>>> if (frame->default_face->font != frame->default_font)
>>> set_frame_default_font(frame, frame->default_face->font;
>> 
>> Where is set_frame_default_font?

> I don't know :-)  Those two lines are pseudo-code...

> I'm not a font expert, so I was hoping somebody knew the 
> correct way to do this.

> I guess x_set_font in frame.c need to be involved somehow.

When a font-related attribute of the default face is
changed, set_font_frame_param (xfaces.c) is called.  So,
perhaps calling it or simulating what it does is the right
thing.

---
Kenichi Handa
address@hidden




reply via email to

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