[konsole] [Bug 379535] Combining 4-byte utf8 characters with color-changing ansi escapes gives extra spaces on output

Tom Littauer bugzilla_noreply at kde.org
Sun May 7 17:18:50 UTC 2017


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

--- Comment #8 from Tom Littauer <kde at littauer.com> ---
It seems the double-width assumption isn't being properly rendered. The newly
attached test case tries to show this by replacing the Ace of Clubs code point
by (doubled) ascii characters.

The line width ends up correct but each Ace of Clubs isn't padded to double
width. Instead the padding is saved up and rendered later, as Egmont points
out.

I note with interest that Character.h/cpp and ExtendedCharTable.h/cpp in the
source tree for 16.08.02 suggest using a hash table to allow the (infrequent)
SMP characters to be captured correctly. It may be, however, that this is not
yet used in rendering.

Just in case it matters, the Font being used on my system is Hack 9.0 point

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


More information about the konsole-devel mailing list