Make sure the ftcr font driver is used on Haiku when Cairo is enabled

* src/haikufont.c (syms_of_haikufont): [USE_BE_CAIRO]: Make sure
`ftcr' superseeds `haiku'.
This commit is contained in:
Po Lu 2022-04-17 04:06:52 +00:00
parent f1ba92448d
commit 265f4ef702

View file

@ -1096,6 +1096,10 @@ syms_of_haikufont (void)
DEFSYM (Qko, "ko");
DEFSYM (Qjp, "jp");
#ifdef USE_BE_CAIRO
Fput (Qhaiku, Qfont_driver_superseded_by, Qftcr);
#endif
font_cache = list (Qnil);
staticpro (&font_cache);
}