Font not working on Android

in my button class:

public static var BUTTON_FORMAT:TextFormat = new TextFormat(Assets.getFont("fonts/Snowstorm.otf").fontName,23, 0xffffff, false,false,false,null,null,TextFormatAlign.CENTER);

in the xml:

<assets path="assets/fonts" rename="fonts" />

the name of my font: Snowstorm.otf

Does Assets.getFont return a font instance? What is the font name it returns? Does it work if you do it outside a static value?

public static var BUTTON_FORMAT:TextFormat;

...

BUTTON_FORMAT = new TextFormat (...);

You can also try hard-coding the font’s name, in OpenFL (not legacy) it uses the font name, like “Snowstorm Regular”, etc