PDF processing