Library for generating PDF documents