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-de...@kde.org
          Reporter: shu...@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 watching all bug changes.

Reply via email to