From 33860cde8cd3aff1691e1f230b83e05b81efdac8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 30 May 2006 04:53:55 +0000 Subject: Minor. --- pango/pango-renderer.c | 5 ++--- 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 -- cgit v1.2.1