diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2019-06-18 10:19:40 +0900 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2019-06-18 10:21:06 +0900 |
commit | 64767008f70af88d193d36eb6d2c27e4bc95ea8e (patch) | |
tree | 6bb91be06a2c8e09b2b4b07450dede39dd59a659 /src/w32font.c | |
parent | 56a90c4234afb41b6d41a356ab4a35e71923552c (diff) | |
download | emacs-64767008f70af88d193d36eb6d2c27e4bc95ea8e.tar.gz emacs-64767008f70af88d193d36eb6d2c27e4bc95ea8e.tar.bz2 emacs-64767008f70af88d193d36eb6d2c27e4bc95ea8e.zip |
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.
Diffstat (limited to 'src/w32font.c')
-rw-r--r-- | src/w32font.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32font.c b/src/w32font.c index 14d49b24d9b..5d54f048fb5 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -2821,6 +2821,8 @@ versions of Windows) characters. */); defsubr (&Sx_select_font); + Fput (Quniscribe, Qfont_driver_superseded_by, Qharfbuzz); + pdumper_do_now_and_after_load (syms_of_w32font_for_pdumper); } |