关闭 Flash 中字体的抗锯齿功能?

发布于 2024-08-16 10:46:14 字数 207 浏览 2 评论 0原文

Flash 可以使用两种类型的字体,这样它们就可以在运行时通过动作脚本进行更改。

  • 系统字体 - 不抗锯齿,因此渲染速度快
  • 嵌入字体 - 抗锯齿,因此渲染速度较慢

“系统字体”的问题是您无法旋转文本。我可以使用嵌入字体并关闭抗锯齿功能以使其渲染速度更快吗?

Flash can use 2 types of fonts such that they can be changed at runtime by actionscript.

  • system fonts - NOT anti-aliased so renders fast
  • embedded fonts - anti-aliased so renders slow

The problem with "system fonts" is that you can't rotate the text. Can I use embedded fonts AND turn off the anti-aliasing so it renders fast?

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

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

发布评论

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

评论(1

花辞树 2024-08-23 10:46:14

您的意思是设置 AntiAliasType 吗?

textField.antiAliasType = AntiAliasType.NORMAL;

Do you mean setting the AntiAliasType ?

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