all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 39340@debbugs.gnu.org
Subject: bug#39340: 26.3; "Noto Emoji" font not displayed
Date: Fri, 31 Jan 2020 10:46:39 +0200	[thread overview]
Message-ID: <83wo98ko7k.fsf@gnu.org> (raw)
In-Reply-To: <86wo98bc3c.fsf@gmail.com> (ynyaaa@gmail.com)

> From: ynyaaa@gmail.com
> Cc: 39340@debbugs.gnu.org
> Date: Fri, 31 Jan 2020 11:20:55 +0900
> 
> 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")

(The first of these variants doesn't make sense.)

What do you mean by "make Emoji glyphs visible"?  Ar the characters in
some ranges of codepoints (which ones?) shown as boxes with hex
numbers, or shown using fonts other than Noto Emoji, or shown as
something else?

Also, did you try to use the ADD argument of set-fontset-font?  I'd
suggest to use 'prepend there.

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

Maybe Ebrima doesn't have glyphs for OSMANYA DIGITs?  I'm not on
Windows 10, so I cannot check that.

> And evaluating (set-fontset-font t '(#x104A0 . #x104A9) "Noto Sans Osmanya"),
> OSMANYA DIGITs are displayed as boxed hex numbers, too.

Try this instead:

  (set-fontset-font t '(#x10480 . #x104A9) "Noto Sans Osmanya" nil 'prepend)

IOW, tell Emacs to use that font for the entire Osmanya block.

On my Windows system, just installing the Noto Sans Osmanya font
immediately let Emacs use it for displaying all the Osmanya
characters, but I guess that's an easier situation for Emacs, since
that's the only font supporting that block on my system; previously
all the Osmanya characters were displayed as hex codes in boxes.
Maybe you have many more fonts installed that have partial support for
Osmanya, and that causes problems?





  reply	other threads:[~2020-01-31  8:46 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
2020-01-31  8:46         ` Eli Zaretskii [this message]
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=83wo98ko7k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=39340@debbugs.gnu.org \
    --cc=ynyaaa@gmail.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 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.