emacs-devel
[Top][All Lists]
Advanced

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

Re: Default face problem


From: Kim F. Storm
Subject: Re: Default face problem
Date: Mon, 08 May 2006 10:47:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Kenichi Handa <address@hidden> writes:

>> Wouldn't it make sense to fix the frame's default font at this
>> step (eg. in realize_basic_faces) when it is detected that
>> the specified default font is "not available".
>
> I agree.
>
>> IIRC, setting the frame default font is a little
>> more trick than a mere assignment, so I should have written:
>> 
>>  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.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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