diff --git a/utils/pdfinfo.cc b/utils/pdfinfo.cc index c9b4c58..c79ab41 100644 --- a/utils/pdfinfo.cc +++ b/utils/pdfinfo.cc @@ -111,6 +111,7 @@ int main(int argc, char *argv[]) { int exitCode; int pg, i; GBool multiPage; + int r; exitCode = 99; @@ -254,6 +255,12 @@ int main(int argc, char *argv[]) { } } printf("\n"); + r = doc->getPageRotate(pg); + if (multiPage) { + printf("Page %4d rot: %d\n", pg, r); + } else { + printf("Page rot: %d\n", r); + } } // print the boxes