1 Reply Latest reply on Oct 20, 2010 8:59 AM by jfb00

    Use svg font in flex

    premkant81 Level 1

      Hi,

      Can anyone please help how svg font is used in flex. I am using like this but its not working

       

      1)

       

      @font-face

       

       

       

       

       

      {

       

       

       

       

       

       

      src: url(verdanab.svg);

       

      fontFamily: "Verdana";

       

      fontStyle: normal;

       

      fontWeight: bold;

       

      font-anti-alias-type:advanced;

      }

       

      or

       

      [Embed(source="verdanab.svg",

      fontName = "Verdana",

      fontWeight = "bold",

      mimeType="application/x-font")]

      private var myFont : Class;

       

      Neither of the code is working

       

      Thanks in advance

      Premkant