4 Replies Latest reply on Sep 1, 2009 1:48 AM by saurabhgsl

    How to embed ARIALUNI.TTF



      I am trying to embed Arailuni.ttf file in my mxml application with the help of following code:


      [Embed(source='C:/WINDOWS/Fonts/ARIALUNI.TTF', fontName="SD_ARIALUI")]
      public var SDARIALUNI:Class;


      I am getting following errors for this code

      Unexpected exception encountered while reading font file '/C:/WINDOWS/Fonts/ARIALUNI.TTF'

      Unable to transcode C:/WINDOWS/Fonts/ARIALUNI.TTF.