cairo patch
fix for rotated pages in PDFs