FYI, Unicode 9 only adds support for some characters (e.g. U+1F920, 🤠,
is correctly marked as wide starting from Unicode 9) but others require
an update to Unicode 10 (e.g. U+1F92F, 🤯) to be marked as wide.
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
Emoji that should be wide, according to Unicode 9, display incorrectly
in the terminal
Status in gnome-terminal package in Ubuntu:
When editing Unicode in the terminal, it is important for the terminal
and applications to agree on the width of characters. Otherwise,
display glitches will occur.
In prior versions of Unicode, the character width of emoji was
"ambiguous". As of Unicode 9, they are supposed to be double-wide and
take up two character cells. gnome-terminal displays them as
overlapping, single-wide characters, like it has for a long time. This
is a problem because many applications I use on Ubuntu now treat emoji
as double-wide. The behavior of gnome-terminal conflicts with the
cursor positioning in vim, for example.
I've long considered gnome-terminal to have the least buggy Unicode
implementation among terminal applications, and this may no longer be
The *desired behavior* of emoji is that they are double-wide: they
take up two character cells, advance the cursor by two cells when
displayed, and text-editing applications move the cursor by two cells
when moving past them. The *actual behavior* is inconsistent:
typically, the emoji advance the cursor only by one character cell,
even though the text-editing cursor moves by two character cells when
moving past them, causing the cursor to be misaligned with the text.
I hope this bug reporting interface lets me attach screenshots so I
can show the example with vim.
DistroRelease: Ubuntu 16.04
Package: gnome-terminal 3.18.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35
Uname: Linux 4.4.0-57-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Date: Wed Feb 15 16:13:31 2017
InstallationDate: Installed on 2016-08-09 (190 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000']
failed with exit code 1: Hint: You are currently not seeing messages from other
users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~desktop-packages
Post to : email@example.com
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp