diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/print.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index 18a083e..43c967e 100644 --- a/src/print.c +++ b/src/print.c @@ -237,7 +237,10 @@ static void print_narrative(GtkPrintOperation *op, GtkPrintContext *ctx, h += paragraph_height(ps->top->paras[i]); if ( h > page_height ) return; + cairo_save(cr); render_paragraph(cr, ps->top->paras[i], ps->p->is); + cairo_restore(cr); + cairo_translate(cr, 0.0, paragraph_height(ps->top->paras[i])); } |