[reportlab-users] RenderPMError when using TTF in bitmaps

Andy Robinson andy at reportlab.com
Sat Jan 13 04:45:47 EST 2018


On 13 January 2018 at 09:34, Dinu Gherman <gherman at darwin.in-berlin.de> wrote:
> Hello!
>
> in a toy project I register a TrueType font, use it in a Drawing and save that as a PNG (see code below), but I’m getting a warning and traceback, that suggests I need PFB files for that font. I’ve reproduced this at least with one other TTF, too.
>
> I believe I did that kind of thing without any trouble some years ago, or maybe I have false memories? Any ideas? This is on Python 3.6 and reportlab 3.4.0.
>

Last week Robin very recently pushed a change, to help support a Type
1 files that lacked a space character in its custom encodings.  I
wonder if this had a knock-on effect on TTF as well?   Hopefully he
can look at this on Monday.

- Andy


More information about the reportlab-users mailing list