aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-08-13 22:35:58 +0200
committerThomas White <taw@bitwiz.org.uk>2013-08-13 22:36:06 +0200
commit424ab5a4a03252ac09fbb0668a24df9963881a4c (patch)
tree51521e0833da2fd6871f130e8879bee1c9c6fb8b
parentf323171d52c37b97fe06168aec91b33d174b0fb7 (diff)
Clean up calls to draw_outline()
-rw-r--r--src/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index 354664d..87d00d7 100644
--- a/src/render.c
+++ b/src/render.c
@@ -140,11 +140,12 @@ static void render_boxes(struct wrap_line *line, cairo_t *cr, ImageStore *is,
box = &line->boxes[j];
cairo_translate(cr, x_pos, 0.0);
+ draw_outline(cr, box);
+
switch ( line->boxes[j].type ) {
case WRAP_BOX_PANGO :
render_glyph_box(cr, box);
- //draw_outline(cr, box);
break;
case WRAP_BOX_IMAGE :
@@ -152,7 +153,6 @@ static void render_boxes(struct wrap_line *line, cairo_t *cr, ImageStore *is,
break;
case WRAP_BOX_NOTHING :
- //draw_outline(cr, box);
break;
case WRAP_BOX_SENTINEL :