Simple PDF generation for Python (FPDF PHP port)