You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
10000
Merge pull request #7931 from kshramt/font_weight
FIX: consider 'weight-as-string' more highly than 'weight-as-number'
- Internally store the text weight as a string
- if compare weight as strings before comparing as number, apply bias against numeric but not string match
Slight concern that our font selection method is getting farther away from 'standard', but it fixes the handling of fonts that do not correctly report their weights or use non-standard weights and does not obviously break anything els.
0 commit comments