Re: Built-in versus embedded fonts
Andy Robinson <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CABjtApsjA0Rx_UkJszPmD3i38uyMju_1T_N3DVN8g+P2jr8HhQ@mail.gmail.com> |
> 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