diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/x11pdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/x11pdf.c b/test/x11pdf.c index d6cbb28a..60f25d65 100644 --- a/test/x11pdf.c +++ b/test/x11pdf.c @@ -160,7 +160,7 @@ static void showpage(void) ctm = fz_identity(); ctm = fz_concat(ctm, fz_translate(0, -page->mediabox.max.y)); ctm = fz_concat(ctm, fz_scale(zoom, -zoom)); - ctm = fz_concat(ctm, fz_rotate(rotate)); + ctm = fz_concat(ctm, fz_rotate(rotate + page->rotate)); bbox = fz_transformaabb(ctm, page->mediabox); |