[reportlab-users] Error in pdfmetrics.py trying to register the same encoding twice
Robin Becker
robin at reportlab.com
Thu Jul 10 12:25:38 EDT 2008
Matt Folwell wrote:
> There's code in pdfmetrics.py to cope if you try to register two
> identical encodings under the same name, but it doesn't work because
> Encoding.isEqual() doesn't take account of comparing an unfrozen
> encoding with a frozen one. (The vector is converted from a list to a
> tuple)
>
> Also the wrong error is raised when the encodings are different, because
> the Encoding's Name attribute shouldn't be capitalised.
>
> The attached patch against subversion head fixes both of these.
>
> Regards,
> Matt
thanks I'll put it in straight away
--
Robin Becker
More information about the reportlab-users
mailing list