[Konsole-devel] [Bug 41744] konsole Shows some Japanese FULLWIDTH chars as HALFWIDTH

Ken Deeter ktdeeter at alumni.princeton.edu
Sat Nov 8 04:07:39 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=41744     




------- Additional Comments From ktdeeter at alumni.princeton.edu  2003-11-08 05:07 -------
Some further analysis:

It turns out that in unicode, the characters in question are 'ambiguous' as to whether they are full width or half width. When things are rendered, the thing that determines the on screen width of hte character is actually the font.

If one opens kedit, and enters one of the characters in question, ¡û for example, and selects the kochi-gothic font, the full width glyph will show in its place, and if bitstream vera sans mono is shown, then the half width glyph is shown.

So the solution must include calling konsole_wcwidth_cjk() when appropriate AND setting the font to something appropriate (that provides full width glyphs for the ambiguous characters) as well. Otherwise, we will have half-width glyphs being rendered into a full-width cell (which technically isn't wrong, but it might look funny)



More information about the konsole-devel mailing list