Index: glib/poppler-page.cc =================================================================== RCS file: /cvs/poppler/poppler/glib/poppler-page.cc,v retrieving revision 1.34 diff -u -r1.34 poppler-page.cc --- glib/poppler-page.cc 24 Aug 2005 18:57:46 -0000 1.34 +++ glib/poppler-page.cc 30 Aug 2005 07:29:07 -0000 @@ -125,6 +125,7 @@ int cairo_width, cairo_height, cairo_rowstride; unsigned char *cairo_data; + rotation = page->page->getRotate (); if (rotation == 90 || rotation == 270) { cairo_width = MAX ((int)(page->page->getHeight() * scale + 0.5), 1); cairo_height = MAX ((int)(page->page->getWidth() * scale + 0.5), 1);