Reporting engine library written in C. Create one XML file and generate PDF, HTML, TXT, and CSV reports based on queries. Has support for MySQL, PostgreSQL, ODBC. Bindings for PHP, Java, Python.
FlyPDF is a shared object library (.so) which allows to generate PDF files without using any PDF library as dependency. You may use it for any kind of usage and modify it to suit your needs.
FlyPDF has other advantages: high level functions.