reingart / pyfpdf

Simple PDF generation for Python (FPDF PHP port)
https://code.google.com/p/pyfpdf/
GNU Lesser General Public License v3.0
858 stars 528 forks source link

Add support for unicode characters #181

Open deepakdinesh1123 opened 3 years ago

deepakdinesh1123 commented 3 years ago

Since there was no way to add bullet points in fpdf I tried to add it by adding it as a unicode character ('\u2022') but could not do so

Lucas-C commented 3 years ago

You must use Latin1 escape sequences.

Try using "\x95" (bullet character)

Also, pyfpdf is not maintained anymore, you may want to check https://github.com/PyFPDF/fpdf2