+
Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Different font rendering between wrangler:dev and frog dev #467

@lgaroche

Description

@lgaroche

Describe the bug

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.

Screenshot 2024-08-09 at 01 01 20 Screenshot 2024-08-09 at 01 01 48

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

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载