I am looking for a way to specify different fonts for Latin characters and CJK ones. So far, I have been trying out set-font-rules
without success, but it seems indeed possible if I am not mistaking progs/fonts/fonts-composite.scm
, which appears to apply different fonts to different character maps:
(set-font-rules
'(((modern $v $a $b $s $d)
(compound (ec (roman $v $a $b $s $d))
(la (cyrillic $v $a $b $s $d))
;; ...
(oriental (ipa $v $a $b $s $d))
(any (roman $v $a $b $s $d))))))
Is is possible to create custom compound fonts with set-font-rules
? If not, is there any other way to do this? Thanks!