0

我有一个 tileList 组件,我想知道如何对每个标签内的字体进行抗锯齿处理。我使用以下方法嵌入字体:

leftList.setRendererStyle("embedFonts", true);

到目前为止,我已经尝试专门针对该标签而没有运气。

不工作。

var theTextField:TextField = leftList.label;
leftList.antiAliasType = "advanced";

有人有和建议吗?

谢谢。

4

1 回答 1

1

尝试设置文本格式,并确保您使用的字体是嵌入的。

例如

var format:TextFormat = new TextFormat("Verdana",12,0x990000);
leftList.setRendererStyle('textFormat',format);
leftList.setRendererStyle('embedFonts',true);

高温高压

于 2010-09-25T13:02:02.560 回答