unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38202: 26.2; emacs GUI can not display unicode 01F176
       [not found] <738140564.3723222.1573696245647.ref@mail.yahoo.com>
@ 2019-11-14  1:50 ` Sun Lin via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2019-11-14  2:42   ` Phil Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: Sun Lin via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2019-11-14  1:50 UTC (permalink / raw)
  To: 38202

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

The U+1F176 (" 🅶") should be NEGATIVE SQUARED LATIN CAPITAL LETTER G.But it's displayed as an square with hexel value in emacs GUI (in bothX11 and Win32).
You can browse follow URL to observe the char:https://github.com/syl20bnr/spacemacs/blob/9bafd3f56193edd0ef7babee2f3bf73a50c8e6ae/layers/%2Btags/gtags/packages.el#L102
Could anyone add support for these unicode char range please? Thanks

[-- Attachment #2: Type: text/html, Size: 727 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38202: 26.2; emacs GUI can not display unicode 01F176
  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
  0 siblings, 1 reply; 7+ messages in thread
From: Phil Sainty @ 2019-11-14  2:42 UTC (permalink / raw)
  To: Sun Lin; +Cc: 38202

On 2019-11-14 14:50, Sun Lin via "Bug reports for GNU Emacs, the Swiss 
army knife of text editors" wrote:
> The U+1F176 (" 🅶") should be NEGATIVE SQUARED LATIN CAPITAL LETTER
> G.
> But it's displayed as an square with hexel value in emacs GUI (in both
> X11 and Win32).

It displays fine for me in Emacs.  Check the fonts you're using.

-Phil






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38202: 26.2; emacs GUI can not display unicode 01F176
  2019-11-14  2:42   ` Phil Sainty
@ 2019-11-14  4:32     ` Lars Ingebrigtsen
  2019-11-14  5:27       ` Phil Sainty
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2019-11-14  4:32 UTC (permalink / raw)
  To: Phil Sainty; +Cc: Sun Lin, 38202

Phil Sainty <psainty@orcon.net.nz> writes:

> On 2019-11-14 14:50, Sun Lin via "Bug reports for GNU Emacs, the Swiss
> army knife of text editors" wrote:
>> The U+1F176 (" v") should be NEGATIVE SQUARED LATIN CAPITAL LETTER
>> G.
>> But it's displayed as an square with hexel value in emacs GUI (in both
>> X11 and Win32).
>
> It displays fine for me in Emacs.  Check the fonts you're using.

Yes, it probably means that a font that can display the character isn't
installed.  It works fine for me, too, and my Emacs is using:

    ftcrhb:-Free-Symbola-normal-normal-semicondensed-*-29-*-*-*-*-0-iso10646-1 (#x1EB5)

So this doesn't seem to be a bug, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38202: 26.2; emacs GUI can not display unicode 01F176
  2019-11-14  4:32     ` Lars Ingebrigtsen
@ 2019-11-14  5:27       ` Phil Sainty
  2019-11-14  5:33         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Phil Sainty @ 2019-11-14  5:27 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Sun Lin, 38202

On 2019-11-14 17:32, Lars Ingebrigtsen wrote:
> ftcrhb:-Free-Symbola-normal-normal-semicondensed-*-29-*-*-*-*-0-iso10646-1
> (#x1EB5)

C-u C-x = shows me that I'm also using Symbola to display this 
character.

Sun Lin, the following is how I have that configured.  Perhaps this will 
be
useful to you:

;; 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:"))


-Phil






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38202: 26.2; emacs GUI can not display unicode 01F176
  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
  2019-11-14  6:53           ` via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2019-11-14  5:33 UTC (permalink / raw)
  To: Phil Sainty; +Cc: Sun Lin, 38202

Phil Sainty <psainty@orcon.net.nz> writes:

> Sun Lin, the following is how I have that configured.  Perhaps this
> will be
> useful to you:
>
> ;; 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).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38202: 26.2; emacs GUI can not display unicode 01F176
  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
  2019-11-14  6:53           ` via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 7+ messages in thread
From: via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2019-11-14  6:18 UTC (permalink / raw)
  To: 'Lars Ingebrigtsen', 'Phil Sainty'; +Cc: 38202

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 






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38202: 26.2; emacs GUI can not display unicode 01F176
  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
@ 2019-11-14  6:53           ` via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 7+ messages in thread
From: via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2019-11-14  6:53 UTC (permalink / raw)
  To: 'Lars Ingebrigtsen', 'Phil Sainty'; +Cc: 38202

Hi All,

Emacs can't display the char 0x1F176 even the font "note sans symbols" be installed, I have to change default font to "note sans symbols" to display the char.
But after following Phil 's mail, I install the font "Symbola", without change default settings (emacs -Q), Emacs can display this char correctly.

B.R.
Lin Sun
 






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-14  6:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
2019-11-14  6:53           ` via Bug reports for GNU Emacs, the Swiss army knife of text editors

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).