Revision 1 - Original post on July 21, 2009 @ 12:02pm
[Download]
Discovered yet another Font issue in Flash. Built in CS4. If you embed a font with a ' in the name it will be screwed. TextFields placed on the timeline will work fine however setting the font through code will fail. The exact code above will work fine with fonts that don't have a ' in the name. See comments in code for description of output.
Update: I confirmed this bug by manually removing the ' from the family name inside the font itself and sure enough it now works.
Update: I confirmed this bug by manually removing the ' from the family name inside the font itself and sure enough it now works.