ActionScript / AIR - File Size Increase with TLF?

368 views Asked by At

i'm developing an AIR application in Flash Professional CS5 and noticed that my .swf file size jumps from around 100kb to 900kb just for using TLF?! is this normal? that seems like an awful lot of extra weight for a few more options over regular TextField objects.

2

There are 2 answers

0
Chunky Chunk On BEST ANSWER

the increased file size was caused by embedding the TLF library as an asset rather than relying on runtime shared libraries.

explination here: Working with Text Layout Framework (TLF) text: Publishing SWF files with TLF text

1
Clement P On

It's possible that the embedded fonts has way more than characters than you need, you can tell the compiler to include only the character range that you need:

http://blogs.adobe.com/tlf/2008/11/embedded-font-subsetting-using.html