aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index 113929e..f5ef1e8 100644
--- a/src/render.c
+++ b/src/render.c
@@ -93,6 +93,7 @@ static void render_boxes(struct wrap_line *line, cairo_t *cr)
case WRAP_BOX_PANGO :
render_glyph_box(cr, box);
+ draw_outline(cr, box);
break;
case WRAP_BOX_IMAGE :
@@ -100,14 +101,15 @@ static void render_boxes(struct wrap_line *line, cairo_t *cr)
break;
case WRAP_BOX_NOTHING :
+ draw_outline(cr, box);
+ break;
+
case WRAP_BOX_SENTINEL :
/* Do nothing */
break;
}
- draw_outline(cr, box);
-
x_pos += pango_units_to_double(line->boxes[j].width);
x_pos += pango_units_to_double(line->boxes[j].sp);