All formats

PDF libraries for C/C++

C and C++ have the most complete PDF libraries; most libraries in other languages wrap one of them.

Pick MuPDF or PDFium to render pages or extract text (PDFium if AGPL is a problem), QPDF to merge, split or encrypt existing files, and PoDoFo or libHaru to generate new documents.