[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 Kurt Hindenburgchanged: What|Removed |Added Latest Commit||https://commits.kde.org/kon ||sole/a565bc97337a3bfc3a027f ||46aa2dec3e9a6f8618 Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #6 from Kurt Hindenburg --- Git commit a565bc97337a3bfc3a027f46aa2dec3e9a6f8618 by Kurt Hindenburg, on behalf of Mariusz Glebocki. Committed on 03/04/2018 at 00:11. Pushed by hindenburg into branch 'master'. Clip character drawing to its own cell Summary: To calculate string width, Konsole uses character cell widths. Rendering engine uses actual characters widths for this purpose. Those sizes are equal in fixed-width fonts, as long as the font has specific character. Since no font contains all Unicode characters, some of them are taken from different fonts and their sizes differ from their cell size. This can lead to different results depending on how text line is split into strings. It can be assumed that characters in Basic Latin block in every fixed-width font are really fixed-width, and can be rendered as one string. All other characters are rendered separately, and their rendering surface is limited to their cell. Before/After screenshots: {F5749612} Test Plan: Paste this: `⸻test` in konsole and highlight different parts of the string In a text editor paste this: ``` | A | | ⸻ | | ⟹ | | ⧠ | ``` and move cursor vertically through characters column Reviewers: #konsole, hindenburg Reviewed By: #konsole, hindenburg Subscribers: hindenburg, ngraham, #konsole Tags: #konsole Differential Revision: https://phabricator.kde.org/D11237 M +33 -28 src/TerminalDisplay.cpp https://commits.kde.org/konsole/a565bc97337a3bfc3a027f46aa2dec3e9a6f8618 -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 Nate Grahamchanged: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 Kurt Hindenburgchanged: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #5 from Kurt Hindenburg --- yes, Konsole has had this issue for quite a while -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 christian.her...@astro.su.se changed: What|Removed |Added CC||christian.her...@astro.su.s ||e --- Comment #4 from christian.her...@astro.su.se --- Easily reproducible. Please change status to confirmed! -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 Randall Leedschanged: What|Removed |Added CC||randall.le...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 Christoph Feckchanged: What|Removed |Added CC||kde-2011...@dotancohen.com --- Comment #3 from Christoph Feck --- *** Bug 297390 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 --- Comment #2 from Christoph Feck--- *** Bug 375835 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 361547] Unicode text changes size and moves around when moving cursor
https://bugs.kde.org/show_bug.cgi?id=361547 Geoff Streeterchanged: What|Removed |Added CC||ge...@streeter.gr --- Comment #1 from Geoff Streeter --- I also see this. Use the following two lines: ¹⁰ ① fails, ② succeeds, ③ fails ¹¹ ① fails, ② succeeds, ③ fails Place the caret on the first character and move it right, down, left, up. I am using Monospace size 16 as font. I suspect problems when rendering ①②③ as I don't think the font is truly monospace for these. -- You are receiving this mail because: You are watching all bug changes.