开发者

ActionScript / AIR - File Size Increase with TLF?

开发者 https://www.devze.com 2023-02-13 07:24 出处:网络
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 extr

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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号