[10061] in The GTK GIMP ToolKit mailing list archive
[gtk-list] wrong position of underline
daemon@ATHENA.MIT.EDU (Changwoo Ryu)
Thu Nov 12 23:24:25 1998
To: gtk-list@redhat.com
From: Changwoo Ryu <cwryu@adam.kaist.ac.kr>
Date: 13 Nov 1998 13:23:09 +0900
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
A multibyte bug.
When I set LANG=ko and specify fontset in gtkrc, underline of label is
placed at a wrong x coordinate.
It looks that gtk_label_process_row() in gtk/gtklabel.c assumes that a
text width is sum of its one byte characters' widths. I couldn't
understand the code... But I think there's no need to call
gdk_text_extents for every bytes.
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null