ActionScript / AIR - TLF 文件大小会增加吗?
我正在 Flash Professional CS5 中开发 AIR 应用程序,并注意到我的 .swf 文件大小仅仅因为使用 TLF 而从大约 100kb 跃升至 900kb?!这是正常的吗?与常规 TextField 对象相比,这似乎增加了更多选项。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
嵌入字体的字符数可能超出您需要的字符数,您可以告诉编译器仅包含您需要的字符范围:
http://blogs.adobe.com/tlf/2008/11/embedded-font-subsetting-using.html
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
文件大小增加是由于将 TLF 库作为资产嵌入而不是依赖于运行时共享库造成的。
此处说明: 使用文本布局框架( TLF) 文本:发布带有 TLF 文本的 SWF 文件
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