[konsole] [Bug 432898] New: Font rendering truncates bold letter in combo with unicode symbols

Stefan Huber bugzilla_noreply at kde.org
Sat Feb 13 19:58:42 GMT 2021


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

            Bug ID: 432898
           Summary: Font rendering truncates bold letter in combo with
                    unicode symbols
           Product: konsole
           Version: 20.08.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: font
          Assignee: konsole-devel at kde.org
          Reporter: shuber at sthu.org
  Target Milestone: ---

SUMMARY

The letter '4' is truncated (only the left half is shown) for this output:
echo "$fg_bold[green]⬢ v14.15.4"

It seem to be caused by the combination of a bold font and the "black hexagon"
U+2B22, because also in this minimum example the "black hexagon" U+2B22 is cut
off:
echo -e "$fg_bold[green] \xe2\xac\xa2" 

It does NOT happen for this command:
echo "$⬢ v14.15.4" 

It does NOT happen for this command:
echo "$fg_bold[green]v14.15.4" 

The symbol ⬢ is produced by starship (in zsh) by the NodeJS module:
https://starship.rs/config/#nodejs

OBSERVED RESULT

Consider the output of
echo -e "$fg_bold[green] \xe2\xac\xa2 whatever$fg[blue]hello"

Then the last character (here: 'r') of the bold output is not fully displayed
but truncated. Only the left half is shown.


SOFTWARE/OS VERSIONS

Gentoo Linux with plasma 5.20.5, kde frameworks 5.77.0, Qt 5.15.2, konsole
20.08.3.

The font used is Hack from nerd-fonts-2.1.0.

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


More information about the konsole-devel mailing list