Sam Mueller d38b95f8b7 (iOS) Support for ExtraBold alias of Heavy (font-weight 800)
Summary:
ExtraBold is a fairly common suffix in font naming. A good example is "Circe-ExtraBold". It's usually synonymous with Heavy or Black at font weight 800, as described here: https://www.webtype.com/info/articles/fonts-weights/

This fixes a regression with ExtraBold fonts introduced in d3007b0 where simply having an extrabold font will cause `weightOfFont` to choose this weight aggressively, resulting in all bold text erroneously interpreted as extrabold/heavy. This fix ensures that extrabold is detected before bold, and correctly attributed to `UIFontWeightHeavy`.
Closes https://github.com/facebook/react-native/pull/16323

Differential Revision: D6119059

Pulled By: shergin

fbshipit-source-id: 56a5c30584f220974308a7d6068c8d952aa20fb8
2017-10-23 11:24:18 -07:00
..
2017-09-24 23:01:25 -07:00
2016-08-10 13:13:34 -07:00
2017-09-21 15:01:52 -07:00
2017-09-21 15:01:52 -07:00
2016-11-18 14:43:31 -08:00
2016-09-08 17:58:50 -07:00
2017-07-24 00:32:17 -07:00
2017-09-05 16:35:03 -07:00
2017-03-23 11:36:17 -07:00