Does embedding fonts in swf asset affect building to HTML5


#1

Does it matter at all if the embed font option is used with dynamic and/or static text fields stored in a swf file. I have the fonts themselves stored in the assets folder that is used for the build.

The problem is that when I export my Animate fla file to a swf movie file, I get a single “Fonts should be embedded for any text that may be edited at runtime” warning which indicates there is one dynamic text field whose font is not embedded but I can’t find it. The warning includes “Use the Text > Font Embedding command to embed fonts.” But when I do that, all the fonts listed are embedded.

Can I ignore this warning or do I need to find that text field?


#2

When building to HTML5, we ignore the embedded font data, reading only the font name, then look for this at runtime. It’s best to include the same font in your assets, or to embed them yourself in your CSS so that the names can be resolved. I wonder if there’s a way to disable the warning