[konsole] [Bug 393607] Background colour on unusual unicode characters looks weird

Egmont Koblinger bugzilla_noreply at kde.org
Sat Apr 28 19:32:49 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=393607

Egmont Koblinger <egmont at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egmont at gmail.com

--- Comment #1 from Egmont Koblinger <egmont at gmail.com> ---
Note that while the tram, bus and walk symbols are "wide" according to Unicode
10.0 [1], the ferry symbol is of "ambiguous width". Such characters are handled
as narrow by most terminal emulators, and also by glibc's wcwidth() function.
The rest of the tabulation is also incorrect in its line, so your utility seems
to assume it's also a wide character, whereas konsole handles it as narrow,
i.e. taking one cell only (hence the weird background). It's another story that
the actual glyph is so wide that it overflows a lot (and the bus also overflows
by 1px).

I'm not sure if konsole has an option to show ambiguous characters as wide, I
couldn't quickly find it. But even if it has, while enabling it might fix the
ferry, it probably breaks plenty of other things in other apps.

(What's this tool by the way? Looks quite useful! Is it specific to Göteborg,
or can it be used with any GTFS, and/or some online provider such as Google
Maps?)

[1] ftp://ftp.unicode.org/Public/10.0.0/ucd/EastAsianWidth.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list