diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 10:17:22 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 10:17:22 +0000 |
commit | 3ffe3d7c4c36e262caf6c1d6ab7621960b4c9fcb (patch) | |
tree | 98e108b86cff1f19d01b3d7ebcc2cf19ac14fbc4 | |
parent | 353b4a14be628d8ad8a7111b0c9a6226380c29f4 (diff) | |
download | pango-3ffe3d7c4c36e262caf6c1d6ab7621960b4c9fcb.tar.gz |
Fix background rendering being off in presence of rise attributes.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix
background rendering being off in presence of rise attributes.
svn path=/branches/pango-1-14/; revision=2149
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pango/pango-renderer.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-01-16 Behdad Esfahbod <behdad@gnome.org> + + * pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix + background rendering being off in presence of rise attributes. + 2007-01-15 Tor Lillqvist <tml@novell.com> * configure.in: Don't check for X and don't warn about missing diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c index e6fc83f2..14a3fb74 100644 --- a/pango/pango-renderer.c +++ b/pango/pango-renderer.c @@ -515,7 +515,7 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer, pango_renderer_draw_rectangle (renderer, PANGO_RENDER_PART_BACKGROUND, x + x_off, - y - rise + overall_rect.y, + y + overall_rect.y, glyph_string_width, overall_rect.height); } |