开发者

how to PostScript True Type 1 mac font embed into flex application?

开发者 https://www.devze.com 2023-02-19 11:42 出处:网络
I have the vinyl regular exten开发者_如何学运维sion of PostScript True Type 1 mac font. How can I embed into my flex application?Here\'s the Adobe online write up on embedding fonts.

I have the vinyl regular exten开发者_如何学运维sion of PostScript True Type 1 mac font. How can I embed into my flex application?


Here's the Adobe online write up on embedding fonts.

I typically put my font files in my /assets/fonts/ folder, but it's up to you where you put it.

Example:

@font-face { 
    src: url("assets/fonts/my-font.ttf"); 
    fontFamily: MyFontName;  
    embedAsCFF:true; 
}

Using the font:

<s:Label text="Hello world!" fontFamily="MyFontName" />
0

精彩评论

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