I'm trying to render text with Metal for my (2D) game.
I'm using the system fonts, e.g. the SF Pro family for English texts. I render the glyphs onto an atlas texture, and then sample from this texture.
My questions:
- I assume that, for copyright reasons, I'm not allowed to include a pre-rendered font atlas in my app. Is my assumption correct?
- I can, however, have the app generate the atlas when it's first opened, and then use it within the app, right?
- If 2. is true, then can the app save the atlas somewhere in the app's private storage, so that it would not need to re-generate the atlas the next time?
Thanks!