[Top][All Lists]

[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 14:51:30 +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:

> But why does it think it is ok to use such a font as the
> frame's default font?

I don't know why.  Perhaps, Gerd just overlooked such a

> The problem we see is because the :align-to specs in the header line
> are formatted based on the width of the frame's default font, but if
> the default font is not used in the frame text, the result is very
> confusing.

I see.

> 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?

Kenichi Handa

reply via email to

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