Perhaps this is related? http://www.mail-archive.com/[email protected]/msg118108.html
Perhaps for the purposes of hosting the Flex SDK, Marvin may be using the "MPL" version of the SDK. Because of Flex's classloading mechanisms, you may have to push into your own repository a non-MPL version of the Flex SDK to get access to the AFEFontManager. -- jim On Sun, Jun 21, 2009 at 5:08 AM, peja<[email protected]> wrote: > > I would like to use the Adobe flex-fontkit to compile/embed a font > with Flex Mojos 3.2, because using the BatikFontManager or the > JREFontManager results in washed out rendering. > > I am aware of the fact that the flex-fontkit is not part of the open > source SDK, so I installed the artifact on my local repository and > configured the flex mojos like this: > ... > <fonts> > <managers> > > <!--manager-class>flash.fonts.BatikFontManager</manager-class--> > > <manager-class>flash.fonts.AFEFontManager</manager-class> > </managers> > </fonts> > ... > <dependency> > <groupId>com.adobe.flex.compiler</groupId> > <artifactId>flex-fontkit</artifactId> > <version>${flex.sdk.version}</version> > <type>jar</type> > </dependency> > > It does work with the BatikFontManager configuration. When I use the > AFEFontManager, the flex-fontkit.jar is downloaded at build time, but > I get an error message: > [ERROR] /Volumes/SVA/contentlandscape-mvn/trunk/App/src/main/flex/ > App.mxml:[35,-1] exception during transcoding: No FontManager > provided. Cannot build font. > [ERROR] /Volumes/SVA/contentlandscape-mvn/trunk/App/src/main/flex/ > App.mxml:[35,-1] unable to build font 'akzidenz' > [ERROR] /Volumes/SVA/contentlandscape-mvn/trunk/App/src/main/flex/ > App.mxml:[35,-1] Unable to transcode ../../../../Theme/src/main/flex/ > fonts/AkzidenzGroteskBold.ttf. > [ERROR] /Volumes/SVA/contentlandscape-mvn/trunk/App/src/main/flex/ > App.mxml:[31,-1] exception during transcoding: No FontManager > provided. Cannot build font. > [ERROR] /Volumes/SVA/contentlandscape-mvn/trunk/App/src/main/flex/ > App.mxml:[31,-1] unable to build font 'akzidenz' > [ERROR] /Volumes/SVA/contentlandscape-mvn/trunk/App/src/main/flex/ > App.mxml:[31,-1] Unable to transcode ../../../../Theme/src/main/flex/ > fonts/AkzidenzGroteskRoman.ttf. > > Isn't the fontkit.jar added to the Classpath? What did I overlook? > > Thanks and Regards, > Peter > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
