]> git.eshelyaron.com Git - emacs.git/commit
Properly sort results for partial font specs
authorPo Lu <luangruo@yahoo.com>
Sat, 13 Jan 2024 01:51:59 +0000 (09:51 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jan 2024 18:24:13 +0000 (19:24 +0100)
commit55ceb4ebcff540ba74417fa281357c528c305ac0
tree26a491c0f7f2d94fd30655b83af52e7327587986
parent0dc811da393ff86cb1d324fb0d439cd474257e94
Properly sort results for partial font specs

* src/sfntfont.c (sfntfont_compare_font_entities): New function.
(sfntfont_list): Sort matching font entities by the number of
fields set, and mention why.

(cherry picked from commit 4edb77132de731f9d4cb2cffee2f8847eafdcc72)
src/sfntfont.c