Commit 73c3aa8
(iOS) Support for DemiBold alias of SemiBold (font-weight 600)
Summary:
For more information on font weight naming see [this post](https://www.quora.com/What-is-the-difference-between-Medium-Demi-and-Semibold-fonts).
DemiBold is fairly common in font naming. For example, iOS React Native lacks support of "AvNext-DemiBold".
Also removed warning about `NSUInteger` <=> `NSInteger` comparison, by making `i` an `NSUInteger`
Before and after screenshots:


Add any DemiBold font to an iOS react native project. Set fontWeight to `'600'` on a `<Text />` component. The font weight should be applied appropriately.
Closes #15856
Differential Revision: D5800928
Pulled By: shergin
fbshipit-source-id: 9095e3e150847f9cb828aa5d080567846441e55d1 parent 4ca6172 commit 73c3aa8
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments