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

Tom Littauer bugzilla_noreply at kde.org
Fri May 5 02:02:43 UTC 2017


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

            Bug ID: 379535
           Summary: Combining 4-byte utf8 characters with color-changing
                    ansi escapes gives extra spaces on output
           Product: konsole
           Version: 16.08.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: kde at littauer.com
  Target Milestone: ---

Created attachment 105356
  --> https://bugs.kde.org/attachment.cgi?id=105356&action=edit
Open Konsole, cat this 87-byte text file, look for extraneous spaces

The attached text file, when sent by cat to the konsole, should produce:

1) W in whatever the normal color is
2) X in bold red
3) 16 copies of the utf8 4-byte glyph for the Ace of Clubs in bold red
4) Y in bold blue and
5) Z in the normal color

Instead, it produces all the above plus a number of unexpected spaces between
3) and 4)

This behavior happens with every 4-byte unicode glyph my system supports. Every
2- or 3-byte glyph I've tried works just fine.

The amount of extra space is proportional to the number of 4-byte glyphs.

I'm running stock OpenSuSE Leap 42.2 and have done no mucking about with fonts.

I'll be happy to provide additional information but you may have to tell me how
to acquire it.

PS: The same behavior happens on earlier versions (Konsole 2.14.2) on KDE
4.14.9

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


More information about the konsole-devel mailing list