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

gfx: Map CSS `normal` font weight to Regular font weight on the Mac. #11103

Merged
merged 4 commits into from May 10, 2016

Commits on May 10, 2016

  1. gfx: Perform fuzzy matching on font weights if an exact match wasn't

    found.
    
    Partially addresses #190.
    Partially addresses #9487.
    pcwalton committed May 10, 2016
  2. gfx: Change the mapping from Mac weights to CSS weights so that 0.0 maps

    to 400, not 500.
    
    CSS `normal` font-weight is specified as 400, while Mac "Regular" font
    weight is reported as 0.0. On the Mac, we need to center the two ranges
    on the same value to avoid choosing "Light" fonts where "Regular" would
    have been more appropriate.
    
    Closes #9487.
    
    fix for mac
    pcwalton committed May 10, 2016
  3. tests: Update test expectations.

    pcwalton committed May 10, 2016
You can’t perform that action at this time.