[Konsole-devel] [Bug 210329] some unicode characters are displayed as whitespace

Jekyll Wu adaptee at gmail.com
Tue Jul 19 19:46:58 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=210329





--- Comment #4 from Jekyll Wu <adaptee gmail com>  2011-07-19 19:46:58 ---
hI think I have figured out why they are not displayed correctly.

A small subset (U+2500 ~ U+257F) of unicode characters , referred as linechars
in the code, are drawn in a special way. They are drawn according their
corresponding value in LineChars[] array in LineFont.h, which is automatically
generated from LineFont.src in the building process. However, some characters
lack definitions in LineFont.src, so they will be drawn as whitespace(?),
instead of the expected glyph.

The code flow for drawing these characters is:
TerminalDisplay::drawCharacters()
--> TerminalDisplay::drawLineCharString() --> drawLineChar()

Why they are drawn in this special way and how to fix the missing definitions
are definitely beyond my knowledge. And the last change on LineFont.src is 4
years ago.

The influenced characters are listed below.

┄     U+2504
┅     U+2505
┆     U+2506
┇       U+2507
┈     U+2508
┉     U+2509
┊     U+250A
┋       U+250B

╌     U+254C
╍     U+254D
╎     U+254E
╏       U+254F

╭     U+256D
╮     U+256E
╯       U+256F
╰     U+2570
╱     U+2571
╲     U+2572
╳       U+2573

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the konsole-devel mailing list