brewuf.blogg.se

San francisco font family react native
San francisco font family react native







One example is the monospaced digits options - with the new SF font, digits are no longer monospaced (instead they are naturally spaced so that "1" is thinner than "5" for example), but for UI elements like incrementing counters you want the monospaced digits.Īnd of course there's the font name vs. I haven't tested it but I believe that these options are configured when you call but aren't when you create a new UIFont with the same family.Īdditionally we'll want to expose these new options to JS. This includes options like how colons are formatted in timestamps - when rendering 9:45AM, the colon should be vertically raised. I think we want the notion of a system font for a given size, which includes the font name and other typographical defaults that Apple has configured.









San francisco font family react native