Bug 418620 - Kate unable to properly display lines with CJK characters when using Monospace font
Summary: Kate unable to properly display lines with CJK characters when using Monospac...
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 19.04.3
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 419279 421982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-08 11:32 UTC by reimu
Modified: 2020-12-21 04:34 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (139.86 KB, image/png)
2020-03-08 11:32 UTC, reimu
Details
Cut off text when using some non-latin characters (68.59 KB, image/png)
2020-07-02 23:12 UTC, Oussema Bouaneni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description reimu 2020-03-08 11:32:36 UTC
Created attachment 126669 [details]
Screenshot

SUMMARY
Kate unable to properly display lines with CJK characters when using a Monospace font.

Same issue didn't happen in Gedit and Sublime text.

STEPS TO REPRODUCE
1. Set font to some monospace font, such as Ubuntu Mono or Dejavu Sans Mono
2. Type or copy&paste some CJK chars.

OBSERVED RESULT
The below part of each line with any CJK chars will not be displayed.
See screenshot in attachments for demonstration.

EXPECTED RESULT
Each line will should be displayed properly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Comment 1 Patrick Silva 2020-03-13 15:19:25 UTC
Same thing with Kate 19.12.3 on Arch Linux.
Comment 2 Patrick Silva 2020-03-27 12:37:05 UTC
*** Bug 419279 has been marked as a duplicate of this bug. ***
Comment 3 Felipe Peter 2020-04-17 06:25:50 UTC
Same with Kate 19.12.3 on Manjaro.
Comment 4 Patrick Silva 2020-05-23 19:16:03 UTC
*** Bug 421982 has been marked as a duplicate of this bug. ***
Comment 5 Oussema Bouaneni 2020-07-02 23:12:04 UTC
Created attachment 129855 [details]
Cut off text when using some non-latin characters

This issue is present for me pretty much every time I use a character that is not in Latin script. It exists with Arabic script, CJK and with other characters.
When using Arabic script the descenders of letters like gjpy are a little cut off at the end. Whereas when using a character like this 🜁 half of the line is cut off. See attached screenshot.

Kate Version: 20.04.1
Comment 6 Oussema Bouaneni 2020-07-02 23:35:55 UTC
Possibly relevant patches:
https://phabricator.kde.org/D25339
https://phabricator.kde.org/D29789
Comment 7 Oussema Bouaneni 2020-07-03 00:08:42 UTC
This bug is fixed as far as I can see with Kate 20.07.70
Comment 8 Justin Zobel 2020-11-21 11:51:34 UTC
(In reply to reimu from comment #0)
> Created attachment 126669 [details]
> Screenshot
> 
> SUMMARY
> Kate unable to properly display lines with CJK characters when using a
> Monospace font.
> 
> Same issue didn't happen in Gedit and Sublime text.
> 
> STEPS TO REPRODUCE
> 1. Set font to some monospace font, such as Ubuntu Mono or Dejavu Sans Mono
> 2. Type or copy&paste some CJK chars.
> 
> OBSERVED RESULT
> The below part of each line with any CJK chars will not be displayed.
> See screenshot in attachments for demonstration.
> 
> EXPECTED RESULT
> Each line will should be displayed properly.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 5.16.5
> KDE Frameworks Version: 5.62.0
> Qt Version: 5.12.4

Can you please confirm if this bug has been resolved as per Comment 7, thank you.
Comment 9 Bug Janitor Service 2020-12-06 04:34:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2020-12-21 04:34:55 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!