[reportlab-users] font problem

Andy Robinson reportlab-users@reportlab.com
Sat, 24 Jul 2004 00:11:56 +0100


> font is VectoraLH-Light in .PFM + .PFB files which
> I converted to .AFM IIRC with pf2afm

AFM files are somewhat readable.  My guess is that
the bounding boxes are wrong.  You could try making
a document with each glyph drawn huge (100pt) and a 
rectangle around it based on the width given by stringWidth.
This would tell you if the width declared in the AFM
file matches the width it should be, i.e. if it's our bug
or the font.

- Andy