Embedding fonts in Flex: just some glyphs
Monday, May 26th, 2008If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
This is not tutorial, I’m just trying to figure answer our for that question: Is it possible to embed just some glyphs of font in AS3.0 project? I’m using just FlexBuilder, but there some other way, please let me know, I need to know answer ASAP.
Please let me know if it is not possible as well. Till now I think it’s not possible…
Thanks in advance to anybody for answer!
Franto






2 Comments
keita
• Visit Site
May 26th, 2008
You can specify a Unicode Range like explained here
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000792.html
or another workout is creating a SWF file from Flash IDE embedding the characters you want and embed inside your Flex project like this.
[Embed(source="include_src/swf/font.swf", fontName="Embeded font name")]private var EmbedFont:Class;
I’m not any Flex expert but at least it works. If there is better ways, I want to know.
Administrator
• Visit Site
May 26th, 2008
Hey Keita
)
thanks you for you quick answer
) I’ve already find Unicode Ranges in help, and it works like a charm.
Once again thank you
Live Preview
Leave a comment