unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "'Lars Ingebrigtsen'" <larsi@gnus.org>,
	"'Phil Sainty'" <psainty@orcon.net.nz>
Cc: 38202@debbugs.gnu.org
Subject: bug#38202: 26.2; emacs GUI can not display unicode 01F176
Date: Thu, 14 Nov 2019 14:18:44 +0800	[thread overview]
Message-ID: <001f01d59ab3$605eb2a0$211c17e0$@yahoo.com> (raw)
In-Reply-To: <87a78zrphc.fsf@gnus.org>

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 






  reply	other threads:[~2019-11-14  6:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <738140564.3723222.1573696245647.ref@mail.yahoo.com>
2019-11-14  1:50 ` bug#38202: 26.2; emacs GUI can not display unicode 01F176 Sun Lin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-11-14  2:42   ` Phil Sainty
2019-11-14  4:32     ` Lars Ingebrigtsen
2019-11-14  5:27       ` Phil Sainty
2019-11-14  5:33         ` Lars Ingebrigtsen
2019-11-14  6:18           ` via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2019-11-14  6:53           ` via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001f01d59ab3$605eb2a0$211c17e0$@yahoo.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=38202@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=psainty@orcon.net.nz \
    --cc=sunlin7@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).