you're right but when you embed a font like that in flex, it convert the font in swf with flex-fontkit.jar, that create the cff table with java. I can't use this because i need to convert the font when the air application run and not when i create the air application. if you got an idea...
thanks
Simon
OK, I guess you're looking for a way to generate low-level font data in AS3. I can tell you that there's no native solution. You may be able to find a library somewhere that does it, but I don't know of any.
If you want to pursue the approach of running a font converter from the command line, I think you could try FontForge.
Good luck!