PDF: updates in libraries, API changes