diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-01-12 16:52:14 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-01-12 16:52:14 +0200 |
commit | 7ebcb4b6f2f4531ebc893bb3b2f74d6298bf9b41 (patch) | |
tree | b14de367a636c8ad50272828979e509fce35f872 /test/lisp/emacs-lisp/macroexp-resources | |
parent | f373b52ba91ff9b1e04578e6c42efd2414ddf1fa (diff) | |
download | emacs-7ebcb4b6f2f4531ebc893bb3b2f74d6298bf9b41.tar.gz emacs-7ebcb4b6f2f4531ebc893bb3b2f74d6298bf9b41.tar.bz2 emacs-7ebcb4b6f2f4531ebc893bb3b2f74d6298bf9b41.zip |
Avoid assertion violations with variable-weight fonts
* src/font.c (font_score, font_delete_unmatched): Don't assume
weight, slant, and width properties of the font must be fixnums:
some variable-weight fonts violate that assumption. Reported
by Sean Whitton <spwhitton@spwhitton.name>. This is for builds
with Fontconfig < v2.11.91, for which the fix in
'ftfont_pattern_entity' cannot work. (Bug#52888)
Diffstat (limited to 'test/lisp/emacs-lisp/macroexp-resources')
0 files changed, 0 insertions, 0 deletions