- Home /
How can I make a Font from a TTF file stored in memory?
I have a TTF file stored as a byte array in memory (I'm pulling it down from a server so that I can add new fonts remotely). I want to make an NGUI UIFont from it, and it seems like the first step is to create a Unity.Font from it.
What is the proper way to do this? I need something that will work for both iOS and the web player.
Thank you.
Comment