]> git.eshelyaron.com Git - emacs.git/commit
Support font driver supersession
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 18 Jun 2019 01:19:40 +0000 (10:19 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 18 Jun 2019 01:21:06 +0000 (10:21 +0900)
commit64767008f70af88d193d36eb6d2c27e4bc95ea8e
tree6bb91be06a2c8e09b2b4b07450dede39dd59a659
parent56a90c4234afb41b6d41a356ab4a35e71923552c
Support font driver supersession

* src/font.c (font_update_drivers): If argument NEW_DRIVERS is t, then don't
use superseded drivers.
(syms_of_font) <Qfont_driver_superseded_by>: New DEFSYM.

* src/ftfont.c (syms_of_ftfont) [HAVE_HARFBUZZ]:
* src/ftcrfont.c (syms_of_ftcrfont) [HAVE_HARFBUZZ]:
* src/w32font.c (syms_of_w32font) [HAVE_HARFBUZZ]:
* src/xftfont.c (syms_of_xftfont) [HAVE_HARFBUZZ]: Make Harfbuzz variants
supersede non-Harfbuzz ones.

* src/w32fns.c (Fx_create_frame, w32_create_tip_frame): Remove font backend
determination code.
src/font.c
src/ftcrfont.c
src/ftfont.c
src/w32fns.c
src/w32font.c
src/xftfont.c