Skip to main content
Participant
July 9, 2009
Question

Embedding Wingdings with DefineFont 4 and Gumbo

  • July 9, 2009
  • 1 reply
  • 900 views

Sorry for the repost.

I'm having an extremely difficult tracking this issue down.  I hope someone can help!

Replication

  1. Copy the Wingdings TTF (from your OS font library) to the Flex app path
  2. 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>


  3. Run the app

My Results.png

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!!!

This topic has been closed for replies.

1 reply

Adobe Employee
July 10, 2009

Is that this bug http://bugs.adobe.com/jira/browse/SDK-21712?

I added a note to the TLF bug and sent the owners an email to try and get some action going.

Thanks for the report

Richard