Question
Embedding Wingdings with DefineFont 4 and Gumbo
Sorry for the repost.
I'm having an extremely difficult tracking this issue down. I hope someone can help!
Replication
- Copy the Wingdings TTF (from your OS font library) to the Flex app path
- Use the following code for your Flex app:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical" height="500" width="800"
fontSize="20"
xmlns:ns="library://ns.adobe.com/flex/spark">
<mx:Style>
@font-face {
src: url(Wingdings.ttf) ;
fontFamily: Wingdings (DF4);
fontStyle: normal;
fontWeight: normal;
cff: true;
}
@font-face {
src: url(Wingdings.ttf) ;
fontFamily: Wingdings (DF3);
fontStyle: normal;
fontWeight: normal;
cff: false;
}
.rDF4 {fontFamily: Wingdings (DF4);}
.rDF3 {fontFamily: Wingdings (DF3);}
</mx:Style>
<mx:Label text="Wingdings (DF3)" styleName="rDF3"/>
<ns:RichEditableText styleName="rDF4"
width="300" height="400"
text="Wingdings (DF4)"/>
</mx:Application> - Run the app

Expected Results
Both the Halo component Label and the Spark component RichEditableText should have wingdings, but I'm seeing the default system font within the RichEditableText.
Can someone repro or help me find my error? I can swap the wingdings font for any other font (except Nadeem) and it works great.
HELP!!!
