Hi, so I’ve been trying to use the Label class for text but I cannot apply custom font which is arial.
When I use label.style.fontName = ‘C:\Windows\Fonts\arial.ttf’; and load the game it says “Critical Error: Uncatchable Throw: Null Object Reference”
So i think you’ll need to include it as resource, i dont believe the it will work from files (although you can try file://C:/Windows/Fonts/arial.ttf - but i suspect that wont work either)
So you’ll either need to include it as part of your frameworks asset system, or use a module.xml to include it as a haxe resource (which haxeui will then find and load)