After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 118939 - double-height and -width lines not supported
double-height and -width lines not supported
Status: RESOLVED DUPLICATE of bug 109587
Product: vte
Classification: Core
Component: general
0.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks: 113073
 
 
Reported: 2003-08-02 15:49 UTC by Jon Willeke
Modified: 2006-04-29 04:26 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Double-width char (3.61 KB, image/png)
2005-05-24 16:31 UTC, christophe belle
Details

Description Jon Willeke 2003-08-02 15:49:35 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.
Comment 1 christophe belle 2005-05-24 16:31:55 UTC
Created attachment 46842 [details]
Double-width char

This picture shows the good display of characters in an aixterm and the bad in
gnome-terminal.
Comment 2 christophe belle 2005-05-24 16:50:23 UTC
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...

Comment 3 Behdad Esfahbod 2006-04-29 04:26:00 UTC

*** This bug has been marked as a duplicate of 109587 ***