How to handle TTF fonts not converted to SVG & WOFF in HTML5 build


#1

Sometimes I get the message:

Warning: Could not generate *.woff web font for “Assets/font_name.TTF”

I also noticed that I don’t get SVG versions when this occurs.

How concerned should I be about this?

If I should be concerned, how can I generate the needed versions?


#2

If this occurs, we weren’t able to use the “webify” command-line tool to generate all the compatible webfonts. You can look online at compatibility tables for web fonts, to consider what font formats are actually important to you. Sometimes, the fix can be to use a different version of a font (like TrueType instead of OpenType) but another is to generate yourself, and embed in the page’s CSS so it’s available at runtime