替代哥特式 2 号未正确嵌入

发布于 2024-08-16 06:32:32 字数 486 浏览 0 评论 0原文

我正在编写一个纯 AS3 应用程序,使用 Embed 元标记嵌入字体,如下所示:

[Embed(source="assets/fonts.swf", fontName="AlternateGothic No2")]
public static const ALTERNATE_GOTHIC_2:Class;

这一直对我有用,但 Alternate Gothic No. 2 给我带来了问题。在 Flash 中,字体标记为 AlternateGothic,样式为 No2。我通常将它们与中间的空格组合起来作为 fontName,但它不起作用。

字体是 Postscript Type 1,因此我无法嵌入文件和 fontFamily,除非我花费 100 多美元购买字体转换器。

我还尝试创建字体符号,但这也不起作用。有什么想法吗?

I'm writing a Pure AS3 app, embedding a font using the Embed metatag like so:

[Embed(source="assets/fonts.swf", fontName="AlternateGothic No2")]
public static const ALTERNATE_GOTHIC_2:Class;

This has always worked for me, but Alternate Gothic No. 2 gives me issues. In Flash, the font is labeled as AlternateGothic and the style is No2. I typically combine these with a space in between as the fontName, but it's not working.

The font is Postscript Type 1, so I can't embed the file and fontFamily, unless I spend $100+ on a font converter.

I also tried creating a font symbol, but that didn't work either. Any ideas?

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

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

发布评论

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

评论(1

二智少女猫性小仙女 2024-08-23 06:32:32

FontExplorerX 的字体标记为 AlternateGothic-No2,所以我尝试了一下,它成功了。

FontExplorerX has the font labeled as AlternateGothic-No2, so I tried that and it worked.

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