Bug 471800 - some unicode characters make text line shift downwards at the default line height multiplier, cutting out underscores
Summary: some unicode characters make text line shift downwards at the default line he...
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.04.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 17:46 UTC by nttkde
Modified: 2023-08-25 07:12 UTC (History)
1 user (show)

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


Attachments
twohearts added (1.73 KB, image/png)
2023-06-30 17:46 UTC, nttkde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nttkde 2023-06-30 17:46:54 UTC
Created attachment 160001 [details]
twohearts added

Adding certain unicode (UTF-8) characters (eg. the 'two hearts' character https://www.utf8icons.com/character/128149/two-hearts) shifts the whole text line downwards, making eg. underscore characters cut out at the default line height multiplier.

From Kate's settings the default font is Courier New 9 and line height multiplier is 1.0. Increasing line height multiplier helps to the cutting out characters.
I'm using Kate 23.04.0 from Microsoft Store on Windows 10.

Not sure if this is easily fixable or if the workaround is to just increase the line height..
Comment 1 Waqar Ahmed 2023-08-25 07:12:02 UTC
Yes, just increase the line height. We can't fix this.

A suggestion: Don't use courier new, it's 2023 already.