[konsole] [Bug 464823] New: Soft hyphens are incorrectly displayed as normal spaces
Karl Ove Hufthammer
bugzilla_noreply at kde.org
Wed Jan 25 20:00:37 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=464823
Bug ID: 464823
Summary: Soft hyphens are incorrectly displayed as normal
spaces
Classification: Applications
Product: konsole
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: font
Assignee: konsole-devel at kde.org
Reporter: karl at huftis.org
Target Milestone: ---
SUMMARY
When text contains soft hyphens, the soft hyphen characters (U+00AD) are now
displayed as normal spaces. They should instead be invisible, and used to be
so, so this is a regression. I did a ‘git bisect’, and it looks like the bug
was introduced in this commit:
commit 76f879cd70fb494ab2334d2660b34679546f3d9d
Author: Matan Ziv-Av <matan at svgalib.org>
Date: Sat Aug 6 19:15:42 2022 +0300
Draw characters in exact positions
[…]
STEPS TO REPRODUCE
1. Run the following command in Konsole:
echo -e
'super\u00adcali\u00adfragi\u00adlistic\u00adexpi\u00adali\u00addocious'
OBSERVED RESULT
The text is displayed as:
super cali fragi listic expi ali docious
EXPECTED RESULT
The text should be displayed as:
supercalifragilisticexpialidocious
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230123
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.7-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7673
System Version: 1.0
ADDITIONAL INFORMATION
If the word comes at the end of a line and causes the word to be split over two
lines *at the soft hyphen*, the soft hyphen should really be displayed as a
*normal* hyphen instead of being invisible. This is the way soft hyphens
normally work, e.g., in Kate. But I guess this is a less important feature for
a terminal application, which usually doesn’t do any real word wrapping. Just
thought I would mention it.
And regarding the use of soft hyphens: I’m a translator of KDE applications,
and we use soft hyphens a lot in our translations, also for command-line
applications. This bug causes the output (e.g., of ’--help’) to look incorrect
(long words are being split).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list