]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure the ftcr font driver is used on Haiku when Cairo is enabled
authorPo Lu <luangruo@yahoo.com>
Sun, 17 Apr 2022 04:06:52 +0000 (04:06 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 17 Apr 2022 04:07:07 +0000 (04:07 +0000)
* src/haikufont.c (syms_of_haikufont): [USE_BE_CAIRO]: Make sure
`ftcr' superseeds `haiku'.

src/haikufont.c

index f2ead5d6c2565a42c1ab6f15d2d7ee56ca924fef..4e81e577039b92cf1bac2309546aa0fcd814e4f6 100644 (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);
 }