[reportlab-users] parseAFMFile sfsc1200.afm
Robin Becker
robin at reportlab.com
Tue Aug 23 13:29:51 EDT 2005
Gregor Horvath wrote:
.....
>
> Running the script with the example font in the fonts order works.
>
> I discoverd that the sfsc1200.afm contains float numbers for the width:
>
>
> [....]
> C 32 ; WX 363.338 ; N space ; B 0 0 0 0 ;
> [...]
>
> The working afm file contains integers.
>
> Now, is the afm file wrong or is it a bug in reportlab??
>
I'm not sure; I'll have a look at the original parseafm.c code and also at any
docs I can find from Adobe. I don't think it's a major problem to fix as python
won't really care if it is an int or float, but I think some of our accelerator
code might want it to be an int.
--
Robin Becker
More information about the reportlab-users
mailing list