开发者

Adobe Air 2.5+ @font-face and the HTMLLoader

开发者 https://www.devze.com 2023-03-18 16:52 出处:网络
Can someone post the proper syntax for using @font-face with the HTMLloader. I\'m loading an HTM开发者_开发知识库L string directly into the loader and it will render normal CSS, but I can\'t get it to

Can someone post the proper syntax for using @font-face with the HTMLloader. I'm loading an HTM开发者_开发知识库L string directly into the loader and it will render normal CSS, but I can't get it to load the TTF I'm referencing with @font-face.


Turns out that the Adobe only has Adobe Air 1.5 built into it, that was my problem. Using this tutorial, I was able to upgrade to use Adobe Air 2.7 using this tutorial,

http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/

After upgrading the @font-face started working, but I still didn't like it cause the fonts had no anti-alias smoothing, the fonts render like they would in a browser using web safe fonts.

0

精彩评论

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