[reportlab-users] Built-in versus embedded fonts

Andy Robinson andy at reportlab.com
Mon Jun 22 05:39:07 EDT 2015


>     canvas.stringWidth(text, font_name, font_size)
>
>
> Thanks for the response, but it doesn't work with my TTFont ones, as far as
> I can tell... I get the same errors as reported in my last message, but with
> a slightly different call stack.

Glenn, can you post a very short code snippet where this fails, and
also tell us the font you used with it?  We have been registering
TrueType fonts and measuring their width for at least 12 years, so
maybe you have a dodgy font file

- Andy


More information about the reportlab-users mailing list