]> Pileus Git - ~andy/gtk/commit
Draw underlines one pixel higher.
authorHavoc Pennington <hp@redhat.com>
Wed, 15 Nov 2000 00:23:37 +0000 (00:23 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 15 Nov 2000 00:23:37 +0000 (00:23 +0000)
commitfe8da19f2a65a220c805cdf37c60f6a0c0f1d368
tree7188631c820283bd62a658c48384db384cde3650
parent2d24862ffdf973337ff31168c11259a3f4d5acdf
Draw underlines one pixel higher.

2000-11-14  Havoc Pennington  <hp@redhat.com>

* gdk/gdkpango.c (gdk_draw_layout_line): Draw underlines one pixel
higher.

* gtk/gtktextdisplay.c (render_layout_line): Take rise into
account. Also, render rise, underline, background, etc. for
pixbufs as well as text. Also, draw underlines one pixel higher.

* gtk/gtktextlayout.c (gtk_text_layout_get_line_display): Add a
PangoAttribute for the rise, so it gets drawn properly. Also,
add the GtkTextAppearance attribute for pixbuf/widget segments
as well; we should go ahead and have rise, underline, background,
stipple work for those

* gtk/gtktexttag.c: Rename "offset" property to "rise" to match
Pango
17 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/gtk-demo/textview.c
gdk/gdkpango.c
gtk/gtktextdisplay.c
gtk/gtktextlayout.c
gtk/gtktexttag.c
gtk/gtktexttag.h
gtk/testgtk.c
gtk/testtext.c
tests/testgtk.c
tests/testtext.c