Make WordPress Core

Opened 4 years ago

Closed 15 months ago

#55596 closed enhancement (wontfix)

Twenty Twenty-Two: font-smoothing antialiasing setting

Reported by: happysadhu Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: normal Keywords:
Cc: Focuses: css

Description (last modified by sabernhardt)

Currently, at the top of 2022's style.css, font-smoothing is enabled by default by the following:

body {-moz-osx-font-smoothing: grayscale;-webkit-font-smoothing: antialiased; }

Critics of such anti-aliasing font smoothing say that it actually degrades the clarity of fonts on computer screens, particularly dark text on a light background. It switches rendering from subpixel-rendering to pixel level rendering:
​https://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/
​https://github.com/google/fonts/issues/1170

Perhaps, font-smoothing should not be enabled by default in the default WordPress theme.

Cheers, Sam

Change History (5)

#1 @sabernhardt
4 years ago

  • Description modified (diff)
  • Summary Should font-smoothing antialising setting in 2022 default theme be enabled? → Twenty Twenty-Two: font-smoothing antialiasing setting

#2 @sabernhardt
4 years ago

  • Focuses css added
  • Type defect (bug) → enhancement

Thanks for the report!

Antialiased font smoothing has been set on body or the universal * selector and/or other elements in the default theme since Twenty Nineteen. (Before that, Twenty Thirteen to Twenty Sixteen had used it specifically for the Genericons icon font, which is probably fine.)

I'm switching to "enhancement" because the style was clearly desired when the themes were created, but this ticket is about reconsidering that ​decision.

Last edited 15 months ago by sabernhardt (previous) (diff)

#3 @karmatosed
3 years ago

  • Keywords dev-feedback added

#4 @sabernhardt
15 months ago

  • Keywords close added

I think it is too late now to remove the font smoothing unexpectedly in Twenty Twenty-Two.

Twenty Twenty-Two is not packaged with WordPress anymore, and the three themes that are included do not use the font smoothing.

#5 @sabernhardt
15 months ago

  • Keywords dev-feedback close removed
  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

I'll close the ticket now. Adding the styles already was a decision for the theme, and it can stay that way.

Note: See TracTickets for help on using tickets.