Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Font embedding file size bug

$
0
0

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

 

  1. Create new ActionScript 3.0 document
  2. Create a new static TextField to stage and type something in (ex. Test)
  3. Go to File > Publish Settings and tick "Generate size report"
  4. Publish and you should see something like this:
    Font Name            Bytes         Characters
    -----------------    ----------    ----------
    Arial-BoldMT Bold            29    
  5. Change the textfield type to "Dynamic Text" or "Input Text".
  6. Click "Embed..." button and type the same characters that are already in the textfield (ex. "Test).
  7. Publish and you will see something like this:
    Font Name            Bytes         Characters
    -----------------    ----------    ----------
    Arial-BoldMT Bold           587    Test
  8. Now change the TextField back to Static Text and you will see something like this:
    Font Name            Bytes         Characters
    -----------------    ----------    ----------
    Arial-BoldMT Bold          3024    Test
  9. 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?


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>