diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pdfstorycode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdfstorycode.c b/src/pdfstorycode.c index ad1d706..92e2809 100644 --- a/src/pdfstorycode.c +++ b/src/pdfstorycode.c @@ -67,7 +67,8 @@ static int render_slides_to_pdf(Presentation *p, ImageStore *is, const char *fil double log_w, log_h; s = presentation_slide(p, i); - slide_get_logical_size(s, &log_w, &log_h); + slide_get_logical_size(s, presentation_get_stylesheet(p), + &log_w, &log_h); cairo_pdf_surface_set_size(surf, w, w*(log_h/log_w)); |