wevm / frog

Framework for Farcaster Frames 🐸
https://frog.fm
Other
414 stars 93 forks source link

Custom fonts don't work if defined in image handler #468

Closed mko4444 closed 1 month ago

mko4444 commented 1 month ago

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