GNU bug report logs - #38202
26.2; emacs GUI can not display unicode 01F176

Previous Next

Package: emacs;

Reported by: Sun Lin <sunlin7 <at> yahoo.com>

Date: Thu, 14 Nov 2019 02:26:01 UTC

Severity: normal

Tags: notabug

Found in version 26.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: <sunlin7 <at> yahoo.com>
To: "'Lars Ingebrigtsen'" <larsi <at> gnus.org>, "'Phil Sainty'" <psainty <at> orcon.net.nz>
Cc: 38202 <at> debbugs.gnu.org
Subject: bug#38202: 26.2; emacs GUI can not display unicode 01F176
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 





This bug report was last modified 5 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.