You might look at PDFium (the PDF viewer that Chrome uses) ( PDFium - PDFium - Google Project Hosting s ) which was recently open sourced and is based on Foxit's PDF software. This should remove a lot of the issues in writing a PDF reader (like reading the several thousand pages of the PDF specification spec.