[Konsole-devel] [konsole] [Bug 364992] New: [Feature request] Add an option to disable the embedded "drawLineChar" mechanism

Yi Yang via KDE Bugzilla bugzilla_noreply at kde.org
Sat Jul 2 06:34:13 UTC 2016


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

            Bug ID: 364992
           Summary: [Feature request] Add an option to disable the
                    embedded "drawLineChar" mechanism
           Product: konsole
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: ahyangyi at gmail.com

Currently, for certain box drawing characters, Konsole hardcode their shapes
disregarding the font used. This has a few consequences:
* When using a high quality font fine tweaked for use in a terminal, the
quality becomes lower. The designer might have chosen better line widths, or
different corner styles, which are all lost.
* When using a high resolution screen, the pixel level line drawing done by
Konsole produces unrecognizable characters. The problem worsens when
double-line box drawing characters and bold font are involved.

So I'm not asking to remove this line drawing feature, since it's still useful
when one uses an inadequate terminal font. However, since nowadays high quality
terminal fonts are much easier to come by, with all kinds of license from open
source to free-of-charge to commercial, at least we should allow the user to
use their box-drawing characters from their fonts.

While this is a feature request, it's also a bug report, in the sense that the
letter "╫", in bold style, is rendered insanely poorly, to the point that it's
simply impossible to tell it's actually double vertical line and single
horizontal line.

Reproducible: Always

Steps to Reproduce:
Copy the following character to Konsole: "╫".
For worse result, set the font to bold.
For worse result, use a high resolution screen.
Grab quality free fonts, and set them. You will find the shape of "╫" does not
change.

Actual Results:  
You will see the glyph "╫", always drawn with lines of width of exactly one
pixel. If you set it to bold, the vertical lines becomes two pixels wide, and
the gap between the two vertical lines completely disappears.

if you use a high resolution screen, you might not be able to spot it's two
vertical lines without a magnifier.

When you resize the terminal fonts, the line width of "╫" does not change,
causing style inconsistency with your console font.

Expected Results:  
Since this is a feature request, I wish we could have an option to simply use
the box drawing glyphs built in the console font I chose.

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


More information about the konsole-devel mailing list