more updates to better poppler cairo api