Run-time font embedding
Posted in Flash on April 21st, 2009 by Simen – Be the first to commentFont embedding is always a pain in the ass, Lee Brimelow has a nice tutorial which covers all the aspects of the voodoo.
Font embedding is always a pain in the ass, Lee Brimelow has a nice tutorial which covers all the aspects of the voodoo.
It turns out that there a 2 ways to embed fonts in FP10: DefineFont3 and DefineFont4. This new method was added to support the new text rendering engine used by the Text Layout Framework. So, if you want to use embedded fonts in regular TextFields as well as use embedded fonts for TLF, you’ll need to embed twice as many fonts! Wonderful.
Flex developers are going to have a real problem since the new Gumbo components use DefineFont4 and the old ones don’t, but then again, Flex developers have got a lot more to worry about than that…
Anyone want to make a custom TextField?