Fix for “error during transcoding”

I just encountered this error in Flex Builder 3:


exception during transcoding: Unexpected exception encountered while reading font file

The fix is to add -managers=flash.fonts.AFEFontManager to your compiler arguments.

Found here.

One thought on “Fix for “error during transcoding”

  1. I ran into this problem, whereas my coworkers did not. Very frustrating.

    The fix described above worked fine but we were all running equivalent projects, each pointing to our checkout of the same code base.

    I finally found the variance. Our checkouts are on a network server (connected via samba). It turns out everybody else had their projects pointing to a mapped network drive, and I had mine pointed directly to the network path.

    I deleted my project(s), then re-imported them using a mapped drive as the path… Viola! Just to confirm, I deleted my projects again and imported them using the direct network path, and the problem reappeared.

    This may be a valid alternative for some folks, rather then mucking with compile options or configuration.

    FlexBuilder 3
    SDK 3.4 and SDK 3.5
    Windows 7 (64bit)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>