# Embedding Font as Compact Font Format (CFF)

**URL:** <https://forum.kirupa.com/t/embedding-font-as-compact-font-format-cff/275712>\
**Category:** flash\
**Created:** [November 17, 2008, 8:24pm UTC](https://forum.kirupa.com/t/embedding-font-as-compact-font-format-cff/275712 "2008-11-17T20:24:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nocircleno](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@nocircleno](https://forum.kirupa.com/u/nocircleno)\
**Post date:** [November 17, 2008, 8:24pm UTC](https://forum.kirupa.com/t/embedding-font-as-compact-font-format-cff/275712/1 "2008-11-17T20:24:57Z")

</div>

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:

```auto
[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?
