Pb ReportLab (ttfonts.py)

Méta-MCI enleverlesX.XmcX at XmclaveauX.com
Mon Dec 11 07:07:06 EST 2006


Hi!

I try to generate PDF from Python 2.5 + ReporLab_lib, and, I have:

    C:\Python25\reportlab\pdfbase\ttfonts.py:407: DeprecationWarning: struct 
integer overflow masking is deprecated
      stm.write(pack(">LLL", checksum, offset, len(data)))
    C:\Python25\reportlab\pdfbase\ttfonts.py:419: DeprecationWarning: struct 
integer overflow masking is deprecated
      stm.write(pack('>L', checksum))

(note : the same script run Ok with Python 2.4.3)

One idea?

Thanks you by advance

Michel Claveau






More information about the Python-list mailing list