help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom font sets doesn't fully work


From: Yuan Fu
Subject: Re: Custom font sets doesn't fully work
Date: Sat, 31 Jul 2021 13:29:15 -0400

> 
> AFAICT fontsets work as expected. Could it be the face not picking up the 
> correct font to use? It seems to only pick up the default font of the fontset.

Suspecting this, I tried the following, and indeed latin characters don’t show 
the expected SF Mono font either, even though the fondest seems to be correct.

(create-fontset-from-fontset-spec
 (font-xlfd-name
  (font-spec :registry "fontset-lunamono")))
(set-fontset-font "fontset-lunamono" 'latin (font-spec :family "SF Mono"))
(set-face-attribute 'default nil :font "fontset-lunamono”)

Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-lunamono
CHAR RANGE (CODE RANGE)
    FONT NAME (REQUESTED and [OPENED])
C-@ .. DEL
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
  .. ɏ (#xA0 .. #x24F)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
ʰ .. ͯ (#x2B0 .. #x36F)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
᪰ .. ᫿ (#x1AB0 .. #x1AFF)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
᷀ .. ỿ (#x1DC0 .. #x1EFF)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
Ⱡ .. Ɀ (#x2C60 .. #x2C7F)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
꜀ .. ꟿ (#xA700 .. #xA7FF)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
ꬰ .. ꭯ (#xAB30 .. #xAB6F)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
ff .. st (#xFB00 .. #xFB06)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*
︠ .. ︯ (#xFE20 .. #xFE2F)
    -*-SF Mono-*-*-*-*-*-*-*-*-*-*-*-*

  ---<fallback to the default fontset>—
...

Yuan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]