TLF(文本布局框架)已被弃用,现在该怎么办? [英] The TLF (Text Layout Framework) is deprecated, what to do now?

查看:255
本文介绍了TLF(文本布局框架)已被弃用,现在该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不推荐使用文本布局框架,而使用Flash Professional CC则不能使用此功能。如果使用Flash Pro CC打开包含先前使用旧版Flash Professional保存的TLF文本的FLA文件,则将转换TLF



好的。

现在怎么样?我们需要使用阿拉伯语(希伯来语...)的字体,我们坚持使用Flash CS6的永远??

解决方案

一个技巧,它的作品

从闪存cs6或cs5(支持tlf文本)复制两个(.swc)文件


  • textLayout.swc


  • tlfruntime.swc


将它们粘贴到(Adobe Flash CC \ Common \Configuration\ActionScript 3.0\libs)中

3-使用TLFTextField方法

 <$ c $ 

c> import fl.text.TLFTextField;

var txt:TLFTextField = new TLFTextField;
txt.text =النصالعربي;
addChild(txt);

5-确保将字体嵌入到库中。


"The Text Layout Framework is deprecated and the functionality will be unavailable with Flash Professional CC. If a FLA file containing TLF Text, previously saved with an older version of Flash Professional, is opened with Flash Pro CC, then TLF is converted to Classic Text. For more information, see this article."

Okay.

And now what?? we need to use Arabic(Hebrew...) fonts, are we stuck with Flash CS6 for ever??

解决方案

I used a trick and it works

1- Copy two (.swc) files from flash cs6 or cs5 (support tlf text)

  • textLayout.swc

  • tlfruntime.swc

2- Paste them into( Adobe Flash CC \Common\Configuration\ActionScript 3.0\libs)

3- Restart flash

4- Use the TLFTextField method

      import fl.text.TLFTextField;

      var txt:TLFTextField = new TLFTextField ;
      txt.text = "النص العربي";
     addChild(txt);

5- Make sure to embed font to the library .

这篇关于TLF(文本布局框架)已被弃用,现在该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆