Working with a font glyph as an image

I don't see a built-in way to use a font glyph as an image.

In my case, if I want to take the Playdate "A" button glyph and apply a blur or alpha to it, what's the simplest way to do that within the SDK? I know that all font characters are bitmaps, but do we have access to them anywhere as actual images, in the same way a works?

I briefly (maybe absurdly) tried to set drawText to a variable and work with it like that, which obviously doesn't work.

Sorry if this isn't totally clear, I feel like I'm just missing something !

Draw the text to an image using lockFocus or pushContext and then do your thing to the image.

sigh... obviously :slight_smile: It was one of those days...

Thanks Matt !

The C API has a function that gives you the bitmap for a glyph, so I'll add something similar for Lua