Hello all!
I’m trying to add a custom font to an xml-defined HaxeUI label element via CSS. So far I’ve found that the system uses the “font-name” property, but I’m not too sure how to translate that into actually using the file I have at “resources/fonts/x.otf” as none of the CSS samples I’ve found use that property. I’ve tried quite a few variations (eg “x”, “fonts/x” “fonts/x.otf” etc…) and they don’t seem to work.
tl;dr- How do I use font files via CSS in HaxeUI v2?