Is it possible to override glyphs at some range of code points, that the default-font already covers, with ones from a non-default font?
For instance, I'd like to use Arial only except for the uppercase letters, which I want to use Cooper Black for. How can I achieve this?
I know that I can override some rage of code points whose glyphs are missing in the default font, but I'm failing to do the same for the code points whose glyphs exist in the default font.
Here's what I tested.
(set-face-attribute 'default nil :family "Arial") (let ( (my-upper-case-font "Cooper Black") (font-sets '( "fontset-default" "fontset-standard" "fontset-startup"))) (mapcar (lambda (font-set) (set-fontset-font font-set '(#x00. #x17F) my-upper-case-font) ;I set the range wider for the sake of testing. ;This doesn't work and when I inserted "t" after "font-set", ;a message showed up saying "Wrong type argument: frame-live-p, "Cooper Black"" ) font-sets))