diff options
-rw-r--r-- | src/render.c | 2 | ||||
-rw-r--r-- | src/wrap.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c index f4bcc70..ea6e573 100644 --- a/src/render.c +++ b/src/render.c @@ -245,7 +245,7 @@ static void render_lines(struct frame *fr, cairo_t *cr, ImageStore *is, } /* FIXME: line spacing */ - y_pos += pango_units_to_double(fr->lines[i].height) + 0.0; + y_pos += pango_units_to_double(fr->lines[i].height); cairo_restore(cr); @@ -346,6 +346,8 @@ static void calc_line_geometry(struct wrap_line *line) if ( box->height > line->height ) line->height = box->height; if ( box->ascent > line->ascent ) line->ascent = box->ascent; } + + line->height *= 1.07; } |