替代哥特式 2 号未正确嵌入
我正在编写一个纯 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
FontExplorerX 的字体标记为
AlternateGothic-No2
,所以我尝试了一下,它成功了。FontExplorerX has the font labeled as
AlternateGothic-No2
, so I tried that and it worked.