>  Both are narrow enough to fit in a single cell.

This is utterly irrelevant. Again: The width is _never_ defined by the
font (glyph).

> Having *any* characters show as double-cell width confuses readline
horribly

This is not true, readline perfectly handles double-wide characters, as
long as readline's belief and the terminal emulator's actual behavior
wrt. the width is the same. There are two things to note:

- "Ambiguous width: wide" is not supposed to work correctly in apps
incl. readline. This is because they treat these as narrow ones. There
should be locale definitions that define them as wide, but there aren't.

- In Yakkety, glib used Unicode 9.0 whereas glibc used Unicode 8.0.
Plenty of characters became wide as of Unicode 9.0, incl. the '⚡'
symbol. This led to faulty behavior e.g. in gnome-terminal. Xenial is
fine (Unicode 8.0 in both components) and so is Zesty (Unicode 9.0).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570533

Title:
  wrong character width with Ubuntu Mono and replacement fonts in gnome-
  terminal:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1570533/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to