Subject: RE: bug#38202: 26.2; emacs GUI can not display unicode 01F176

From: <[email-masked]>
Date: Thu, 14 Nov 2019 14:18:44 +0800

Hi,

> It displays fine for me in Emacs.  Check the fonts you're using.
> -Phil
Yes, you're right, I switch the font then the char displayed with " not sans symbols" on linux and displayed with "Segoe UI Symbol" on windows.

>> ;; This magic means we fall back to Symbola for all missing unicode
>>    glyphs.
>> ;; For Debian: apt-get install ttf-ancient-fonts (set-fontset-font 
>> "fontset-default" nil (font-spec :size 20 :name
>> "Symbola:"))
>
>That shouldn't be necessary -- Emacs should find the font by itself automatically (and it does for me without saying anything about set-fontset-font).

Change the fontset-default is required, or emacs didn't find correct font to display this char,
Here is "emacs -Q" and "descript-char" show "no font available".

Dose this mean Emacs should find the font but it didn't?

Output of "descript-char" show "no font available" and display an square (emacs -Q with system default font).
             position: 3 of 4 (50%), column: 2
            character: 🅶 (displayed as 🅶) (codepoint 127350, #o370566, #x1f176)
              charset: unicode (Unicode (ISO10646))
              code point in charset: 0x1F176
               script: symbol
               syntax: w 	which means: word
             category: .:Base, L:Left-to-right (strong)
             to input: type "C-x 8 RET 1f176" or "C-x 8 RET NEGATIVE SQUARED LATIN CAPITAL LETTER G"
          buffer code: #xF0 #x9F #x85 #xB6
            file code: #xF0 #x9F #x85 #xB6 (encoded by coding system utf-8-unix)
              display: no font available

Character code properties: customize what to show
  name: NEGATIVE SQUARED LATIN CAPITAL LETTER G
  general-category: So (Symbol, Other)
  decomposition: (127350) ('🅶')

Best Regards
Lin Sun