A PDF library for fast writing of PDF files