I convert ttf font for cp1250 codepage with makefont.py tool from pyfpdf
package and when I try to add this font to my document, I got error:
pdf.add_font('CourierNewPSMT','','cour.py')
File "/work/pyfpdf/pyfpdf-1.54b/fpdf.py", line 445, in add_font
self.diffs[d]=diff
IndexError: list assignment index out of range
I made quick fix to solve problem, I will put fixed version of fpdf.py in
attachment.
Original issue reported on code.google.com by smith...@gmail.com on 2 Oct 2010 at 1:20
Original issue reported on code.google.com by
smith...@gmail.com
on 2 Oct 2010 at 1:20Attachments: