Copy link to clipboard
Copied
quote:...
The new embed functionality is in mxmlc.jar. You could try replacing the mxmlc.jar installed with Flash CS4 with a more recent versi
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: joe.shankar
Sounds like your project is somehow using an older Flex SDK compiler and not Flex Gumbo compiler. Are you sure you picked the Flex Gumbo sdk by choosing "Use a specific SDK" and pointing it to the Flex Gumbo SDK as indicated at this link?
http://blog.flexexamples.com/2008/08/02/using-the-beta-gumbo-sdk-in-flex-builder-3/
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
The new embed functionality is in mxmlc.jar. You could try replacing the mxmlc.jar installed with Flash CS4 with a more recent version, but i’m not very optimistic that would work very well (definitely don’t delete the old copy). The dependencies between flash and mxmlc are many and complex, and they have likely been broken in new versions.
quote:
"Error initializing Java Runtime Environment. You may need to reinstall Flash."
quote:
You could create a swc file using a new version of flexbuilder with the new embed stuff available in gumbo (defining ArialEmbeddedFont), and then put the swc in the library path for your FLA and access the ArialEmbeddedFont that way. I think that would work fine, since flexbuilder would handle the [Embed]. The only issue would be if the flash swc linker doesn’t handle definefont4 correctly, but i think we tested that.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: peterd_mm
I wouldn't go as far as to say "fault". DefineFont4 and CFF is all new/beta stuff being worked on in Gumbo and TLF. Flash CS4 was already finished before this stuff was finalized. I'll keep looking into this when I get a bit of time to see if I can get the FlexBuilder SWC approach working in the meantime though.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I get the same error: transcoding parameter 'cff' is not supported by 'flex2.compiler.media.FontTranscoder' in flex Gumbo, build 4.0.0.8031.
Any idea why I can't embed a font in flex 4?
Copy link to clipboard
Copied
You shouldn't see this error if you are building with Gumbo. You should double check your SDK setup. Are you sure that you aren't overriding the SDK version in your project settings?
Copy link to clipboard
Copied
If you are talking about right clicking the project and changing the compiler/sdk settings there then I've done that several times. Each time it says it's using sdk 4.0.0.8031, never changes. If there's something else you are refering to, then please be more specific.
Copy link to clipboard
Copied
In build 7972, the 'cff' transcoding parameter was renamed to 'embedAsCFF'.
Gordon Smith
Adobe Flex SDK Team
Copy link to clipboard
Copied
Thanks Gordon, that seemed to fix my problem.
Copy link to clipboard
Copied
I don't understand how you fixed it.
Copy link to clipboard
Copied
Gordon said
In build 7972, the 'cff' transcoding parameter was renamed to 'embedAsCFF'.
Gordon Smith
Adobe Flex SDK Team
Which was what fixed my problem. I was using cff and needed to change it to embedAsCFF
Hope that helps.