wevm/frog

Custom fonts don't work if defined in image handler

Closed this issue · 0 comments

Describe the bug

If I define custom fonts in the image handler as opposed to the frog constructor, they don't load.

Link to Minimal Reproducible Example

https://custom-font-bug-repro.vercel.app/api

Steps To Reproduce

Live example (load frame in validator): https://custom-font-bug-repro.vercel.app/api
Code here: https://github.com/mko4444/custom-font-bug-repro/tree/main

Frog Version

0.15.9

TypeScript Version

5

Check existing issues

Anything else?

No response