]> git.eshelyaron.com Git - emacs.git/commit
Avoid assertion violations with variable-weight fonts
authorEli Zaretskii <eliz@gnu.org>
Thu, 30 Dec 2021 18:28:58 +0000 (20:28 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 30 Dec 2021 18:28:58 +0000 (20:28 +0200)
commit89f205084b7368bb2261e07384f8ff1967a70ba4
treeee992e95dfb4afcce096a634338b628ab9f68436
parentf2031d0ddb6a21eebbf396094a5c4d4e73019271
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>.  Do not merge to
master.  (Bug#52888)
src/font.c