It seems pretty simple to embed the TrueType font in a PDF using reportlab.pdfgen.canvas.Canvas
. However, I use the reportlab.graphics.Drawing
class reportlab.graphics.Drawing
, as this gives me the ability to save both PNG and PDF images.
I cannot find mention of how to use custom TrueType fonts with the Drawing
class. It can be done?
Hubro source share