diff options
author | Po Lu <luangruo@yahoo.com> | 2022-04-17 04:06:52 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-04-17 04:07:07 +0000 |
commit | 265f4ef70233c4708cbbdeb1850541570c40fdd6 (patch) | |
tree | 92bbe3c88c69fe2d45dcf3971ca50d61332461ba /src/haikufont.c | |
parent | f1ba92448d1e573640547c68d9bed89fe5c43da0 (diff) | |
download | emacs-265f4ef70233c4708cbbdeb1850541570c40fdd6.tar.gz |
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'.
Diffstat (limited to 'src/haikufont.c')
-rw-r--r-- | src/haikufont.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/haikufont.c b/src/haikufont.c index f2ead5d6c25..4e81e577039 100644 --- a/src/haikufont.c +++ b/src/haikufont.c @@ -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); } |