开发者

FlashDevelop + Haxe -- use an embedded font

I've added my TTF file to my Haxe project, and it appears to be embedded into the swf, but i have no clue how to get any of my TextFields to use it. How can i do that?

Update: I have a project set up as the same (for the purposes of this question) as this tutorial, and my font is not showing up (while theirs is)开发者_StackOverflow社区. It seems to have to do with the issue outlined in this forum thread, but since i have no access to the AS3 code generated, i can't tell the compiler to issue an embed tag with that flag set. What can i do, if anything?


The issue appears to be that I set the text var of the TextField before having it load the font. Whoops!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜