GNOME Bugzilla – Bug 118939
double-height and -width lines not supported
Last modified: 2006-04-29 04:26:00 UTC
I'm using gnome-terminal 2.2.1 with VTE 0.10.25, 0.10.29, and 0.11.10. The double-height and double-width line attributes are not supported. The escape sequences are documented in the VT100 manual as "ESC # 3" (double top half), "ESC # 4" (double bottom half), and "ESC # 6" (double width). You can test these with vttest at <http://dickey.his.com/vttest/vttest.html>. xterm supports double-width lines by using a wide font, but doesn't really support double-height lines.
Created attachment 46842 [details] Double-width char This picture shows the good display of characters in an aixterm and the bad in gnome-terminal.
see #109587: Problem is in vte/src/vteglyph.c in _vte_glyph_draw() and _vte_glyph_draw(), the position "x" in pixels of the character is computed by "row * width". where width is the average width of the characters of this font and row is the number of characters from the beginning of the line, but row is always increment by 1 even if the character is a double-width character. Solution needs major changes in algorithm...
*** This bug has been marked as a duplicate of 109587 ***