How does one put a .woff font in the HTML5 application?

Hello,

if OpenFl fails to convert TTF for some reason, what is the way of getting the manually converted font work in HTML5 textfield?

If you embed it in your page, then textFormat.font should match the webfont name

Thank you, going to try!

OK, so OpenFl added the @font-face section to index.html for me. What I needed is to place the .woff file near .tff one with the same name. And use it by family name like “Droid Sans Mono” as in index.html instead of usual asset ID like “assets/font/…”.