diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 10:14:32 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 10:14:32 +0000 |
commit | 375cb212021277fd31142080a4ebb3fcf9b27a43 (patch) | |
tree | 1f77ee0c7a143c46186809c2944c7db7528c0779 /pango | |
parent | 7d3e758bf530501257f86ba73384c4e98ac48389 (diff) | |
download | pango-375cb212021277fd31142080a4ebb3fcf9b27a43.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=/trunk/; revision=2148
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c index 5b5b71ba..bb415cc0 100644 --- a/pango/pango-renderer.c +++ b/pango/pango-renderer.c @@ -530,7 +530,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); } |