I don’t want to embed fonts into my project. Instead, I would like to be able to give textfields a list of fonts to find like the CSS font-family property without using HTML text.
I tried using the StyleSheet object thinking after using the transform() method, the outputted textformat would have the font property set correctly with just the working font, but it gets set with the whole string. myFormat.font = “Arial, Helvetica, _sans”; doesn’t work (it appears to work if the first font is there, and if not it reverts to Times New Roman), is there any other way to do this or am I stuck using HTML text or solving my embedding fonts problem?