You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a cloudflare worker default template, fonts are rendered differently between devtools started with npm run dev and npm 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:
npm init frog -- -t cloudflare-worker
Install the dependencies, then start the devtools:
npm run dev
Now start the devtools with wrangler:
npm run wrangler:static
npm run wrangler:dev
Notice how the fonts differ in the two modes.
Frog Version
0.15.9
TypeScript Version
5.5.4
Check existing issues
I checked there isn't already an issue for the bug I encountered.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: