In Flash when you’re embedding a font you can choose which characters to use by adding unicodeRange = “U+0020-007E” for example in the embed tags.
Is there an equivalent when embedding fonts in OpenFl? I can’t see anything in Assets.getFont() so I feel like I must be missing something.
On native, the whole font file is copied. On mobile, the whole font is converted into a web font. I’m not sure either supports subsets (but the Flash target might support this when embedding, I forget, like <assets path="fonts" glyphs="32-255,1024-1279" />
)
Thanks, I guess I will have to generate a subset of the font myself. No biggie, I just hoped there might be an easier way.