pyfpdf icon indicating copy to clipboard operation
pyfpdf copied to clipboard

Simple PDF generation for Python (FPDF PHP port)

Results 107 pyfpdf issues
Sort by recently updated
recently updated
newest added

I would like to add page numbers at the bottom of every page (except the first one which is a cover). I was wondering if it's possible to do this...

unescape() not supported and not required as of python 3.9 onwards

In Python and FPDF , Kannada fonts are not displaying properly. Tried different Kannada /Uni code fonts but having same issue. characters jumbled and does not show it properly ....

I tried stack overflow but to no avail, this is probably not a bug but I couldn't find any other way to fix the issue. All I want to automatic...

With current version when adding new image at given x location, if a new page is required because of image sizing, the new x is wrong. I figured it by...

I couldn't find any option to set content protection for the generation pdf files. I would like to prevent the print and content copy feature from the PDF file. How...

On a mac machine fpdf.output() returns this: `bytearray(b'%PDF-1.3\n3 0 obj\n\nendobj\n4 0 obj\n\nstream\nx\x9c\x8d\x8f\xb9\nBA\x0cE\xe3\xae\xe3O\xdcR\x9b\x98\xc9L\xe6\xf1ZA\x0b;a>A\x14\xec\xb4\xf1\xf7\x8d\x8a\xb84\xda\x9c\x90\x85{\x88b\x13\x84\xad\xc1%,+\x16kE\x14\x96\x84\xba\xc7\xaa\x86\x13|W\xda\x0f\x9e\x0f\xf0\xcb\x9c\x12\x97\x8c\xc6\x94\xb3\xa2\xee0\xa3\x0eu\xa9G}\x1a8\x87\x04\x1a\xd1\xd8\'\x13\xef\x02a\x8ez\xf4Dl\x1f\x9a\xf8\xa7\xc6\x92qc\x1f\x1a\x90Pt\x99\x90:\xf5^\xf5+>#E...` while on a linux the same function returns this: `%PDF-1.3 3 0 obj endobj 4 0 obj stream...

I am loading a font file by name using the default FPDF_FONT_DIR location. The file gets loaded properly and execution continues until I am ready to write the pdf. After...

I am generating a PDF file using FPDF in Python. Below is a code snippet, where I am creating a table using cell. The table consists of 3 columns. In...

fpdf can't ignore characters which can't print, simple example: ``` # font was taken here: https://fonts2u.com/symbola.font from fpdf import FPDF def txt_to_pdf(text, CV_file): pdf = FPDF() pdf.add_page() pdf.add_font('Symbola', '', 'fonts/Symbola_hint.ttf',...