]> code.delx.au - gnu-emacs/commit
Improve font selection by family on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Thu, 24 Mar 2016 16:30:41 +0000 (18:30 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 24 Mar 2016 16:30:41 +0000 (18:30 +0200)
commit7eba90c12227d86636aaa3da8d68b0c213fb3910
tree87df78c5757aeca2eefc6127009cefb3ad84135f
parent73d213f2816876fe9c6c429e75a3be5454a42b34
Improve font selection by family on MS-Windows

* src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
This avoids rejecting many font families whose members are shown
by 'font-family-list', in particular 'courier' requested by
info.el.  Without this change, many values of ':family' attribute
of a face have no effect on MS-Windows, because they are rejected
due to bogus mismatch of the charset.
src/w32font.c