all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ynyaaa@gmail.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 39340@debbugs.gnu.org
Subject: bug#39340: 26.3; "Noto Emoji" font not displayed
Date: Fri, 31 Jan 2020 11:20:55 +0900	[thread overview]
Message-ID: <86wo98bc3c.fsf@gmail.com> (raw)
In-Reply-To: <83ftfxm2kc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Jan 2020 16:38:59 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: ynyaaa@gmail.com
>> Cc: 39340@debbugs.gnu.org
>> Date: Thu, 30 Jan 2020 14:13:47 +0900
>> 
>> >> Evaluating the following form, only "ツゥツョ 窿」縲ー縲ス繩励鎌" can be displayed.
>> >>   (set-fontset-font t '(#x80 . #x1FFFF) "Noto Emoji")
>> >> 
>> >> Other characters listed below are displayed with other fonts or boxed
>> >> hex numbers.
>> >
>> > Please tell more details, in particular what do you mean by "can be
>> > displayed", and also which of the characters you show are displayed
>> > with other fonts and which with boxes with hex codepoints.
>> 
>> 'C-u C-x =' on displayable characters shows a font name in *Help* buffer:
>>             character: ツゥ (displayed as ツゥ) (codepoint 169, #o251, #xa9)
>>     uniscribe:-outline-Noto Emoji-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x11)
>> Starting with 'emacs -Q', the font name is shown as below.
>>             character: ツゥ (displayed as ツゥ) (codepoint 169, #o251, #xa9)
>>     uniscribe:-outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x8B)
>> 
>> As for U+20E3( 窿」:COMBINING ENCLOSING KEYCAP), the glyph in "Noto Emoji"
>> is drawn as a 3D button. I can see visually the glyph difference from
>> other fonts.
>> 
>> >> non-displayable characters
>> >
>> > What does "non-displayable" mean in this context?
>> 
>> I attach an HTML file noto-emoji.html, which contains characters easy to
>> see the difference, and screen shots of the file.
>> 
>> "Noto Emoji" does not have ASCII alphabets nor glyphs for characters
>> from U+1F641 to U+1F645.(It has ASCII digits.)
>
> Thanks, I think setting use-default-font-for-symbols to nil will solve
> this issue as well, because all the characters you show in those
> examples are symbols (as are all Emoji).
>
> Please also note that the call to set-fontset-font you show above
> makes no sense: this font is for displaying Emoji, so you should only
> define it for the Emoji blocks.  Otherwise you will see strange
> problems, because the heuristics we have in our font selection doesn't
> assume such strange settings and doesn't cater to them.

With (setq use-default-font-for-symbols nil), none of the following
forms make Emoji glyphs visible.
    (set-fontset-font t '(#x80 . #x10FFFF) "Noto Emoji")
or  (set-fontset-font t '(#x1F300 . #x1F6C5) "Noto Emoji")
or  (set-fontset-font t #x1F600 "Noto Emoji")

Also I found that OSMANYA DIGITs(U+104A0..U+104A9) are not displayed.
By default, OSMANYA LETTERs(U+10480..U+1049D) are displayed with Ebrima
font. But OSMANYA DIGITs are displayed as boxed hex numbers.
Explicitly evaluating (set-fontset-font t '(#x104A0 . #x104A9) "Ebrima"),
OSMANYA DIGITs are displayed as boxed hex numbers.
And evaluating (set-fontset-font t '(#x104A0 . #x104A9) "Noto Sans Osmanya"),
OSMANYA DIGITs are displayed as boxed hex numbers, too.





  reply	other threads:[~2020-01-31  2:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29  4:12 bug#39340: 26.3; "Noto Emoji" font not displayed ynyaaa
2020-01-29 18:22 ` Eli Zaretskii
2020-01-30  5:13   ` ynyaaa
2020-01-30 14:38     ` Eli Zaretskii
2020-01-31  2:20       ` ynyaaa [this message]
2020-01-31  8:46         ` Eli Zaretskii
2020-01-31 10:43           ` Eli Zaretskii
2020-02-01  3:54             ` ynyaaa
2020-02-01  9:14               ` Eli Zaretskii
2020-02-01 11:52                 ` YAGI Tatsuya
2020-02-01 12:46                   ` Eli Zaretskii
2020-02-03 16:27                     ` Robert Pluim
2020-02-03 16:58                       ` Eli Zaretskii
2020-02-03 18:03                         ` Robert Pluim
2020-02-03 18:22                           ` Eli Zaretskii
2020-02-03 19:45                             ` Robert Pluim
2020-02-03 19:57                               ` Eli Zaretskii
2020-09-20 10:08                                 ` Lars Ingebrigtsen
2020-09-20 10:49                                   ` Eli Zaretskii
2020-09-20 10:55                                     ` Lars Ingebrigtsen
2020-09-20 11:09                                       ` Eli Zaretskii
2020-02-01 11:34               ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=86wo98bc3c.fsf@gmail.com \
    --to=ynyaaa@gmail.com \
    --cc=39340@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.