diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-02-26 19:57:41 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-02-26 19:57:41 +0100 |
commit | 36a4bd7229a562d414513073d1123080b9615cd9 (patch) | |
tree | c473b435ca1165b69519f02ad9a5b8eafe693ef7 /src | |
parent | fd60b77df51cb24c33440ab7d9afe8043f9e43db (diff) |
Use slide size from stylesheet when appropriate
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)); |