From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: Dan Jacobson <jidanni@jidanni.org>
Cc: 59606@debbugs.gnu.org
Subject: bug#59606: flags take up so many columns
Date: Sat, 26 Nov 2022 12:41:27 +0100 [thread overview]
Message-ID: <8735a69c48.fsf@gmail.com> (raw)
In-Reply-To: <87v8n2563r.8.fsf@jidanni.org> (Dan Jacobson's message of "Sat, 26 Nov 2022 05:04:56 -0600")
Dan Jacobson <jidanni@jidanni.org> writes:
> Why do the flags,
> 🇨🇦; 🇺🇸;👁;🔭;
> seem to take up so many columns?
It would really help us understand the issue if you could give more
details about what you are seeing. FWIW, I see almost the same results
as Werner, except for "👁", which is not displayed with a color font
(which seems right AFAIU, since your message did not include variation
selector 16, and admin/unidata/emoji-data.txt shows that U+1F441 has
Emoji_Presentation=No).
My understanding (though I don't have a unicode.org reference handy) is
that emoji ought to be presented with "fullwidth", i.e. take twice as
much space as "halfwidth" characters that compose Latin text.
Emacs's string-width function seems to report the "correct" results
here:
(string-width "🇨🇦") ; 2
(string-width "🇺🇸") ; 2
(string-width "👁") ; 1
(string-width "🔭") ; 2
Though FWIW U+1F441 is misaligned on my system, since it is displayed
with Symbola instead of DejaVu Sans Mono (my default font family).
> emacs-version "28.2"
next prev parent reply other threads:[~2022-11-26 11:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 11:04 bug#59606: flags take up so many columns Dan Jacobson
2022-11-26 11:14 ` Werner LEMBERG
2022-11-26 11:41 ` Kévin Le Gouguec [this message]
2022-11-28 8:18 ` Dan Jacobson
2022-11-29 7:44 ` Kévin Le Gouguec
2022-11-29 10:41 ` Dan Jacobson
2022-11-29 20:39 ` Kévin Le Gouguec
2022-11-30 12:17 ` Dan Jacobson
2022-11-30 20:51 ` Kévin Le Gouguec
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=8735a69c48.fsf@gmail.com \
--to=kevin.legouguec@gmail.com \
--cc=59606@debbugs.gnu.org \
--cc=jidanni@jidanni.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 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).