Flash 动态 TLF 文本将字体混合在一起 - 非常奇怪

发布于 2024-09-25 14:55:14 字数 273 浏览 5 评论 0原文

我是第一次使用 Flash CS5 的新文本布局框架 (TLF)。每当我通过动作脚本动态设置 TLF 文本时,生成的文本都会以多种字体呈现! (静态设置的相同文本没有任何问题)

示例:

alt text

我可以理解,当客户端计算机如果缺少给定的字体,Flash 会选择默认字体,但在这种情况下,字体是 Arial Bold,客户端确实有,而且只有某些字符是扭曲的。这里有什么想法吗?

I'm using Flash CS5's new Text Layout Framework (TLF) for the first time. Whenever I set the TLF text dynamically through actionscript, the resulting text renders with multiple fonts! (The same text set statically doesn't have any issues)

Example:

alt text

I can understand if, when a client machine lacks a given font, Flash would choose a default, but in this case the font is Arial Bold, which the client does have, and moreover only certain characters are screwy. Any ideas here??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

七月上 2024-10-02 14:55:14

每当您使用 Flash/TLF 动态更改文本时,您需要进入文本的属性 >字符面板并单击“嵌入...”按钮。这将允许您选择要嵌入给定字体的字符范围,确保它们在每个客户端上正确呈现。您只需对每个字体执行一次此操作,但对您将动态使用的每个字体执行此操作。

如果您忽略这一点,Flash 将有选择地仅在您开始的文本中嵌入字体字符,这就是为什么我的动态标签混合了字体字符!

Whenever you use dynamically changing text with Flash/TLF, you need to go into the text's properties > character panel and click the 'Embed...' button. This will allow you to choose which range of characters of that given font to embed, ensuring that they will render correctly on every client. You only need to do this once per font, but do it for every font you will use dynamically.

If you neglect this, Flash will selectively embed ONLY the characters of the font in the text you start out with, which is why my dynamic labels had mixed up font characters!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文