Summary: | Ubuntu Mono. Unicode + color => truncate last character. | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Konstantin <k-i-r> |
Component: | font | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alexander.kowalski |
Priority: | NOR | ||
Version: | 2.13.2 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
URL: | http://i.imgur.com/peqm9ti.png | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Konstantin
2015-08-16 22:48:29 UTC
I think this is a duplicate of bug 297390. I will add some new details there. Also, the color of the wide letter itself doesn't change anything; I think that the letters are cut on every boundary between e.g. different colors. If you try printf "✕ it should be less than 3${RED} ${NC}\n" it will still cut off part of the three, and if you try printf "✕ it should${RED} ${NC}be less than 3\n" it will cut off part of the d instead. (Tested on konsole 15.08.0) Result for v 2.13.2 just the same. The letters cut on every boundary between colorized text and not colorized. For example: > GREEN='\033[32m' > printf "✕ it should${RED} be ${GREEN}less ${NC}than 3\n" >> ✕ it shoul(cut) beless than 3 Also, moving the curson through the string without any colors is hard. Try this > printf "✕ it should be less than 3\n" # copy-paste and try to edit the string Also: Fonts with problems: - Ubuntu Mono - TlwgMono - Tlwg Typo - Oxygen Mono - Droid Sans Mono - Courier 10 Pitch Fonts without problems: - Liberation Mono - DejaVu Sans Mono - Andale Mono - Monospace Courier New FreeMono Fix a typo. There are two colors, but only one letter is cut.
> GREEN='\033[32m'
> printf "✕ it should${RED} be ${GREEN}less ${NC}than 3\n"
>> ✕ it shoul(cut) be less than 3
Yes the first X messes up the formatting of the rest of the characters. The color doesn't seem to make any difference. Even my vim doesn't handle it well U+2715 ✕ e2 9c 95 *** This bug has been marked as a duplicate of bug 297390 *** |