diff --git a/cpp/tests/poppler-dump.cpp b/cpp/tests/poppler-dump.cpp index a1a68251..6217cb5b 100644 --- a/cpp/tests/poppler-dump.cpp +++ b/cpp/tests/poppler-dump.cpp @@ -341,8 +341,9 @@ static void print_page_text_list(poppler::page *p) poppler::rectf bbox = text_list[i].bbox(); poppler::ustring ustr = text_list[i].text(); std::cout << "[" << ustr << "] @ "; - std::cout << "( x=" << bbox.x() << " y=" << bbox.y() << " w=" << bbox.width() << " h=" << bbox.height() << " )"; - std::cout << std::endl; + std::cout << "( x=" << bbox.x() << " y=" << bbox.y() << " w=" << bbox.width() << " h=" << bbox.height(); + std::cout << " rot=" << text_list[i].rotation(); + std::cout << " )" << std::endl; } std::cout << "---" << std::endl;