Hi, I have the same problem with a font that is not in the client side but embedded into a SWF.
The font is embedded like this in the SWF named fonts_container.swf:
[Embed(source="/assets/esri_150.ttf", fontFamily="ESRI AMFM Electric", embedAsCFF="true")]
private var ESRI_AMFM_Electric:Class;
public function fonts_container()
{
Font.registerFont(ESRI_AMFM_Electric);
}
and i call it in my application (application.swf) like this :
@font-face {
src:url("assets/fonts_container.swf");
fontFamily: "ESRI AMFM Electric";
}
And this symbol is not displayed correctly :
<flash:TextFormat id="ftf" font="ESRI AMFM Electric"/>
<esri:symbol>
<esri:TextSymbol id="txt1" text="S" textFormat="{ftf}"/>
</esri:symbol>
If I add the font in the client device and remove the @font-face, the symbol display correctly.
It is a problem because the font is not supposed to be installed on the client device.
Am I forgetting some parameters to make the symbol display correctly with embedded font ?