I am using the following in Wand
with Image(width=width, height=height) as canvas:
left, top, width, height = 53, 247, 918, 78
with Drawing() as context:
context.fill_color = 'transparent'
context.rectangle(left=left, top=top, width=width, height=height)
font = Font('Montserrat-Regular.ttf', 0, "white")
context(canvas)
canvas.caption(row['DetailText'],
left=left, top=top, width=width, height=height, font=font, gravity='center')
canvas.save(filename='result.png')
Which works great. I would like to prefix the text in row['DetailText'] with the word "NOTES" and have it in bold. Is there a way of doing this?