diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-08-13 22:35:58 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-08-13 22:36:06 +0200 |
commit | 424ab5a4a03252ac09fbb0668a24df9963881a4c (patch) | |
tree | 51521e0833da2fd6871f130e8879bee1c9c6fb8b /src | |
parent | f323171d52c37b97fe06168aec91b33d174b0fb7 (diff) |
Clean up calls to draw_outline()
Diffstat (limited to 'src')
-rw-r--r-- | src/render.c | 4 |
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 : |