diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-30 04:53:55 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-05-30 04:53:55 +0000 |
commit | 33860cde8cd3aff1691e1f230b83e05b81efdac8 (patch) | |
tree | 8e09f7de9597c8e20a3fa7e27fa845042bf3fbb0 /pango | |
parent | fd3c2ca4ef69e7c4b3677b399ae04d0d6f82bffa (diff) | |
download | pango-33860cde8cd3aff1691e1f230b83e05b81efdac8.tar.gz |
Minor.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-renderer.c | 5 | ||||
-rw-r--r-- | pango/pangocairo-render.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c index cdb876f7..e20ac719 100644 --- a/pango/pango-renderer.c +++ b/pango/pango-renderer.c @@ -802,9 +802,8 @@ pango_renderer_draw_error_underline (PangoRenderer *renderer, * \ \/ \ \/ \ \/ \ \ | * \ / \ / \ / \ / | * \/ \/ \/ \/ - - * - * |----| - * unit_width = (HEIGHT_SQUARES - 1) * square + * |---| + * unit_width = (HEIGHT_SQUARES - 1) * square * * To do this conveniently, we work in a coordinate system where A,B,C * are axis aligned rectangles. (If fonts were square, the diagrams diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c index 8d32e378..a92f207c 100644 --- a/pango/pangocairo-render.c +++ b/pango/pangocairo-render.c @@ -287,8 +287,8 @@ pango_cairo_renderer_draw_rectangle (PangoRenderer *renderer, * \ / \ / \ / \ / | * \/ \/ \/ \/ - * B B - * |----| - * unit_width = (HEIGHT_SQUARES - 1) * square + * |---| + * unit_width = (HEIGHT_SQUARES - 1) * square * * The x, y, width, height passed in give the desired bounding box; * x/width are adjusted to make the underline a integer number of units |