热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

关闭Flash中字体的消除锯齿功能?-Turnoffanti-aliasingforfontsinFlash?

Flashcanuse2typesoffontssuchthattheycanbechangedatruntimebyactionscript.Flash可以使用两种

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

Flash可以使用两种类型的字体,以便可以在运行时通过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?

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

1 个解决方案

#1


1  

Do you mean setting the AntiAliasType ?

你的意思是设置AntiAliasType?

textField.antiAliasType = AntiAliasType.NORMAL;

推荐阅读
author-avatar
dashan
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有