Using the system font

Hello,

As far as I know, there are only two options to get Apple’s system font (San Francisco): native.systemFont and native.systemFontBold. These should be the weights “Regular” and “Bold”.

I need the other weights as well, like San Francisco Medium, San Francisco Semibold, etc. Apple says it’s unsafe to load them with their name, because their names might change over the iOS versions (plus, they are hidden, and don’t want to be found), as described here: https://stackoverflow.com/questions/31369711/how-to-use-new-san-francisco-font-in-ios-9

Is there any way to use the other weights as well?

Corona only supports regular and bold fonts. We are cross platform and we can’t be sure that other system’s will support the alternate weights. 

I guess if it’s really important, you could get involved in the open source project and add additional font weights and maybe even italic support but you would need to make sure to find or default native.sytemFontSemiBold.

Rob

Corona only supports regular and bold fonts. We are cross platform and we can’t be sure that other system’s will support the alternate weights. 

I guess if it’s really important, you could get involved in the open source project and add additional font weights and maybe even italic support but you would need to make sure to find or default native.sytemFontSemiBold.

Rob