Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFF2 variable fonts appear lighter on Chrome than Firefox and Safari #140

Open
wecessary opened this issue Sep 26, 2024 · 3 comments
Open

Comments

@wecessary
Copy link

wecessary commented Sep 26, 2024

Hi everyone, web developer here so apologies if I use the wrong typographic terms. Also thank you for such a great open source typeface!

As title says, when using otf and woff2 variable fonts, the text looks lighter on Chrome, at the same font weights. This not only happens on my own website, but also on Source Serif demo page https://adobe-fonts.github.io/source-serif/. Please see screen shots below.

Note: the issue does not appear when using ttf variable downloaded from Google Font. I discovered this because I notice that the text on Google font page https://fonts.google.com/specimen/Source+Serif+4 looks the same across broswers.

My website:
On Chrome, font weight 400
Screenshot 2024-09-26 at 12 38 05

On Safari, font weight 400
Screenshot 2024-09-26 at 12 41 34

Source Serif demo site:
On Chrome, font weight at extra light
Screenshot 2024-09-26 at 12 43 27

On Safari, font weight at extra light
Screenshot 2024-09-26 at 12 44 23

@punchcutter
Copy link
Member

Probably the same as adobe-fonts/source-han-serif#182

@frankrolf frankrolf changed the title Otf and woff2 variable fonts appear lighter on Chrome than Firefox and Safari CFF2 variable fonts appear lighter on Chrome than Firefox and Safari Sep 27, 2024
@frankrolf
Copy link
Member

Hi @wecessary, thanks for your report.

Every browser/OS combination has slight differences in rasterization, which also may depend on a user’s settings and preference. This is most obvious in the rendering of lighter weights.

In my case (macOS 14.5), I see the following:
1 png_crop
2 png_crop
3 png_crop
4 png_crop

Chrome renders the ExtraLight VF a bit lighter than Safari in light mode, and a bit darker in dark mode.
Unfortunately, I don’t think this is this something that can be influenced by the font, it’s up to the rasterizer to interpret the font data.

@frankrolf
Copy link
Member

FWIW, the 4.005 release contains both TTF and CFF2 variable fonts – you are free to pick whichever you like :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants