I’m trying to use the new text engine [COLOR=black][FONT=‘Verdana’,‘sans-serif’]available [/font][/COLOR]in Flash Player 10 and I can’t figure out how to embed a font as CFF.
I’m using this code:
[Embed(source="Arial.ttf", fontFamily="Arial", cff="true")]
private var arialFont:Class;
and I’m getting this error:
transcoding parameter ‘cff’ is not supported by 'flex2.compiler.media.FontTranscoder’
I have the Flex.swc file added to by library path. If I leave off the ‘cff’ tag it [COLOR=black][FONT=‘Verdana’,‘sans-serif’]compiles [/font][/COLOR]fine (doesn’t work with text engine).
Has anyone got this to work?