0 Replies Latest reply on Jun 8, 2011 4:54 PM by Flex Rock

    Compiler argument not getting updated

    Flex Rock Level 1

      I have used the compiler argument -load-config+=local-font-config.xml and

      In css

                @font-face {
          src: local("Arial");
          fontFamily: "Arial";
      }
      @font-face {
          src: local("Arial");
          fontFamily: "Arial";
          fontWeight: bold;
      }

       

      I have a config file in my local ie(src) to point the font-folder.

       

      <?xml version="1.0" encoding="utf-8"?>
      <flex-config>
          <compiler>
              <fonts>
                  <local-font-paths>
                      <path-element>C:/Temp/fonts/</path-element>
                      <!--<path-element>/System/Library/Fonts/</path-element>-->
                  </local-font-paths>
              </fonts>
          </compiler>
      </flex-config>

       

      Note: Code is transited from Flex3.2 to Flex4.1

       

      But the font was not embedding. Whats wrong in it. Can anyone help me.

       

       

      Regards,

      Jayagopal.