[Konsole-devel] [konsole] [Bug 344275] New: Rounding box drawing characters don't line up correctly.

Parker Coates coates at kde.org
Tue Feb 17 15:08:57 UTC 2015


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

            Bug ID: 344275
           Summary: Rounding box drawing characters don't line up
                    correctly.
           Product: konsole
           Version: 2.14.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: coates at kde.org

Unicode has 4 rounded corner characters for prettier box drawing:

╭ BOX DRAWINGS LIGHT ARC DOWN AND RIGHT (U+256D)
╮ BOX DRAWINGS LIGHT ARC DOWN AND LEFT (U+256E)
╯ BOX DRAWINGS LIGHT ARC UP AND LEFT (U+256F)
╰ BOX DRAWINGS LIGHT ARC UP AND RIGHT (U+2570)

Unfortunately, Konsole doesn't always render these such that they line up with
the more "normal" box drawing characters. See the screenshot.

It seems that Konsole has some special handling for normal box drawing
characters, since they properly grow to accomodate an increased line spacing
and never change thickness regardless of the font size. So my guess is that
these rounded characters aren't receiving that same special treatment.

Reproducible: Always

Steps to Reproduce:
1. Switch console to a font that supports these characters. (Deja Vu Sans Mono
is an excellent choice.)
2. a) Run  the following command: echo -e '╭─┴─╮\n│ ☠ │\n╰─┬─╯'
    b) Alternatively, run "tig" inside a git repository and press '~' to switch
to fancy line drawing.
3. Use Ctrl+Mousewheel to play with the font size and watch for misalignments.

Actual Results:  
The rounded characters are drawn differently than the square ones and don't
line up properly.

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


More information about the konsole-devel mailing list