diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-30 18:36:38 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-30 18:36:38 +0000 |
commit | 13620891fe4843752bb68aecff0bff93d7c9be47 (patch) | |
tree | 717fa55ed9f9db2b03e791a6cf8de1e207a8628d | |
parent | e1cf2a71ca777a6b4d8dd3cc1718174876a5864d (diff) | |
download | pango-13620891fe4843752bb68aecff0bff93d7c9be47.tar.gz |
Set the background color instead of setting underline twice.
2004-11-30 Matthias Clasen <mclasen@redhat.com>
* pango/pango-renderer.c (pango_renderer_default_prepare_run): Set
the background color instead of setting underline twice.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | pango/pango-renderer.c | 2 |
4 files changed, 16 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-11-30 Matthias Clasen <mclasen@redhat.com> + + * pango/pango-renderer.c (pango_renderer_default_prepare_run): Set + the background color instead of setting underline twice. + 2004-11-28 Theppitak Karoonboonyanan <thep@linux.thai.net> Add Lao support to Thai module. (#156781) diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index bf02009f..f5df8979 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2004-11-30 Matthias Clasen <mclasen@redhat.com> + + * pango/pango-renderer.c (pango_renderer_default_prepare_run): Set + the background color instead of setting underline twice. + 2004-11-28 Theppitak Karoonboonyanan <thep@linux.thai.net> Add Lao support to Thai module. (#156781) diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index bf02009f..f5df8979 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2004-11-30 Matthias Clasen <mclasen@redhat.com> + + * pango/pango-renderer.c (pango_renderer_default_prepare_run): Set + the background color instead of setting underline twice. + 2004-11-28 Theppitak Karoonboonyanan <thep@linux.thai.net> Add Lao support to Thai module. (#156781) diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c index 2f0ae3a5..04d5b761 100644 --- a/pango/pango-renderer.c +++ b/pango/pango-renderer.c @@ -1190,7 +1190,7 @@ pango_renderer_default_prepare_run (PangoRenderer *renderer, strikethrough_color = fg_color; pango_renderer_set_color (renderer, PANGO_RENDER_PART_FOREGROUND, fg_color); - pango_renderer_set_color (renderer, PANGO_RENDER_PART_UNDERLINE, fg_color); + pango_renderer_set_color (renderer, PANGO_RENDER_PART_BACKGROUND, bg_color); pango_renderer_set_color (renderer, PANGO_RENDER_PART_UNDERLINE, underline_color); pango_renderer_set_color (renderer, PANGO_RENDER_PART_STRIKETHROUGH, strikethrough_color); } |