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

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

bug#19117: 25.0.50; emacs on x11 chooses different fonts for the same fa


From: Dima Kogan
Subject: bug#19117: 25.0.50; emacs on x11 chooses different fonts for the same face sometimes
Date: Fri, 02 Jan 2015 13:07:57 -0800

Eli Zaretskii <eliz@gnu.org> writes:

> I don't really know how to test these changes on Windows, since most
> of the changes are in xfont.c, and the equivalent w32font.c has no
> similar code that I could identify.  And since I'm not an expert on
> fonts, I'm stuck.
>
> I've built Emacs with your changes and verified that x-list-fonts
> still returns the same number of fonts, and the buffer font selection
> dialog still seems to offer the same list of fonts AFAICS.
>
> Can you suggest any further way of testing the patch?

Hi. The patch changes xfont.c (X11-only I believe) and xfaces.c (applies
to Windows as well, I believe).

In xfaces.c it changes the value of scalable-fonts-allowed in some
cases, but that variable is ONLY used in xfont.c. Thus any system that
does not use xfont.c should be unaffected by scalable-fonts-allowed, and
thus this patch.

So I guess the test you already ran is the best you can do: the patch
shouldn't change anything, and you have observed this under nominal
conditions.





reply via email to

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