Hi !
Until now, I have tested my project with 'openfl test flash' command to take advantage of the shorter compilation time, but now I need to load external content (jpeg images hosted on a remote server) and Flash Player sandbox policy won't let me do this. To bypass this, I would like to test in AIR with 'openfl test air' but there is an error while loading fonts used in components:
adl[2562:41735] CoreText failed to get font asset: 0 - (null)
In the project.xml file, I do:
<assets path="assets">
<font path="fonts/Montserrat/MontserratLight300.ttf" id="MontserratLight300" embed="true"/>
</assets>
I can compile for Neko without any trouble, but for some reason, compilation time is longer, and I want to be able to compile for AIR at some point.
I suspect that this is more an OpenFL related error, feel free to tell me if I have to ask in the OFL forum instead.
Thanks !