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

"Bold" uses font weight not available in Noto Serif font set #2712

Closed
aduth opened this issue Sep 9, 2017 · 3 comments
Closed

"Bold" uses font weight not available in Noto Serif font set #2712

aduth opened this issue Sep 9, 2017 · 3 comments

Comments

@aduth
Copy link
Member

aduth commented Sep 9, 2017

Issue Overview

Gutenberg uses font-weight: 600 in many elements as a bolder font weight:

https://github.com/WordPress/gutenberg/search?utf8=%E2%9C%93&q=font-weight%3A+600&type=

Where not explicitly assigned, like post title, headings also fall back to the font-weight: 600 default from WordPress admin styles:

https://github.com/WordPress/WordPress/blob/4.8.1/wp-admin/css/common.css#L310-L318

But the Noto Serif font pulled from Google Fonts does not include this weight:

wp_enqueue_style(
'wp-editor-font',
'https://fonts.googleapis.com/css?family=Noto+Serif:400,400i,700,700i'
);

The default behavior in most browsers to handle this is to try to emulate the weight, which can have undesirable effects:

https://alistapart.com/article/say-no-to-faux-bold

We should decide one of:

  • Close this issue as "wontfix", and continue to use the emulated font weight
  • Use Noto Serif at font-weight: 700 for bold effects
  • Use a different font family
@aduth aduth added the Design label Sep 9, 2017
@mjchamplin
Copy link

I think using a typeface with a larger range of weights (or at least more than two) would be a good solution. There are lots of great options on Google Fonts that have a full range of weights.

@ellatrix
Copy link
Member

See also #2782.

@karmatosed
Copy link
Member

I'm closing this as we have a discussion about fonts in #2782.

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

4 participants