Embedding Multiple File True Type Fonts in Flex
Many True Type Fonts (TTF) are made up of multiple .TTF files. One file will be for the normal font, while another file is for the Bold version of the Font. For example, the Verdana font that comes with Windows XP consists of four separate files.
The following code shows how to include multiple TTF files into a Flex CSS file.
@font-face{src:url("font/verdana.TTF");font-family: EmbeddedVerdana;font-weight: normal;font-style: normal;}@font-face{src:url("font/verdanab.TTF");font-family: EmbeddedVerdana;font-weight: bold;font-style: normal;}@font-face{src:url("font/verdanai.TTF");font-family: EmbeddedVerdana;font-weight: normal;font-style: italic;}@font-face{src:url("font/verdanaz.TTF");font-family: EmbeddedVerdana;font-weight: bold;font-style: italic;}Application{font-family: EmbeddedVerdana;}- Download this code: embed-ttf-font.css

July 15th, 2010 at 10:51 am
Tanks for this post. But how do we use these font to render HTML text.
July 17th, 2010 at 10:02 am
@DJ
You can use these fonts in <font> tags within HTML text provided to a Text Components htmlText property.
See http://livedocs.adobe.com/flex/3/langref/flash/text/TextField.html#htmlText