在组件标签中嵌入字符

发布于 2024-08-16 08:43:30 字数 285 浏览 1 评论 0原文

我有以下代码:

var tf:TextFormat = new TextFormat();
tf.font = "arial";

aRButton.textField.antiAliasType = "advanced";
aRButton.setStyle("textFormat", tf);
aRButton.setStyle("embedFonts", true);

当我运行此代码时,我的单选按钮上出现抗锯齿,但瑞典语字符 å、ä 和 ö 消失了。有没有办法手动嵌入这些字符?

I have the following code:

var tf:TextFormat = new TextFormat();
tf.font = "arial";

aRButton.textField.antiAliasType = "advanced";
aRButton.setStyle("textFormat", tf);
aRButton.setStyle("embedFonts", true);

When i run this i get antialias on my radiobutton but the Swedish characters å, ä and ö disappears. Is there a way to manually embed these characters?

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

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

发布评论

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

评论(1

又爬满兰若 2024-08-23 08:43:30

我建议通过 Flex Style Explorer 创建一个 .css 文件并插入它进入代码

I suggest to create a .css file by Flex Style Explorer and insert it into the code

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