Open lgaroche opened 1 month ago
Hi @lgaroche!
I've reproduced your issue and indeed see the difference.
I think the issue is somewhere within the hono-og
package that generates the image response for cloudflare workers.
I was able to pull out a font by adding it to imageOptions
– but couldn't get images to work.
@jxom, @tmm, do you guys have an idea why hono-og
could render a different image than using it with other setups?
Describe the bug
Using a cloudflare worker default template, fonts are rendered differently between devtools started with
npm run dev
andnpm wrangler:dev
. The latter looks like it's falling back to a default font. The first one is the same as when deployed on Vercel, and supports emojis.Link to Minimal Reproducible Example
No response
Steps To Reproduce
Install the frog boilerplate with cloudflare workers:
Install the dependencies, then start the devtools:
Now start the devtools with wrangler:
Notice how the fonts differ in the two modes.
Frog Version
0.15.9
TypeScript Version
5.5.4
Check existing issues
Anything else?
No response