Incorporated Fonts (AIR Desktop)
I am making a AIR Desktop (Windows) application using Animate 18.0.2.
In Animate library I have incorporated some fonts I wish to use (and set up the linkage):

I use this code to dinamically select Roboto font:
var fontTitolo = new Roboto_titolo();var formatoTitolo:TextFormat = new TextFormat();formatoTitolo.font = fontTitolo.fontName;formatoTitolo.size = 30;var titolo:TextField = new TextField();titolo.textColor = 0x163467;titolo.defaultTextFormat = formatoTitolo;titolo.htmlText = "hello";titolo.x = 10;titolo.y = 10;titolo.width = 300;titolo.height = 200;titolo.multiline = true;titolo.wordWrap = true;titolo.antiAliasType = AntiAliasType.ADVANCED;titolo.sharpness = 100;titolo.thickness = 100;container.addChild(titolo);But when I execute the build (.exe) on a PC where the Roboto fonts I have incorporated aren’t installed also on the Operating System the texts are displayed in Times New Roman. On a PC where the fonts are installed on the Operating System the texts are displayed in right fonts.
Please help... ![]()
