There's a bug in Flash CC that makes file size larger than necessary when embedding fonts.
Flash version: Flash CC version 13.1.0.217
OS version: OSX 10.9
- Create new ActionScript 3.0 document
- Create a new static TextField to stage and type something in (ex. Test)
- Go to File > Publish Settings and tick "Generate size report"
- Publish and you should see something like this:
Font Name Bytes Characters ----------------- ---------- ---------- Arial-BoldMT Bold 29
- Change the textfield type to "Dynamic Text" or "Input Text".
- Click "Embed..." button and type the same characters that are already in the textfield (ex. "Test).
- Publish and you will see something like this:
Font Name Bytes Characters ----------------- ---------- ---------- Arial-BoldMT Bold 587 Test
- Now change the TextField back to Static Text and you will see something like this:
Font Name Bytes Characters ----------------- ---------- ---------- Arial-BoldMT Bold 3024 Test
- Scratch your head in unbelief.
Expected results: The file size should stay same.
Workaround is to publish in Flash CS6 where this works as it should and file size stays reasonable. However, here seems to be differences in Line Spacing between CS6 and CC so this workaround causes some extra headache, because Line Spacing in every textfield need to be readjusted.
Any other workarounds?