Fixed --- "flash.fonts" should replace "macromedia.fonts" in the
config

swfkit.jar contains the font manager classes
They are BatikFontManager and JREFontManager
*BUT* they are now contained in the package flash.fonts.

The flex-config.xml file should be changed to read

        <managers>
           <manager-class>flash.fonts.JREFontManager</manager-class>
           <manager-class>flash.fonts.BatikFontManager</manager-class>
        </managers>

using flash.fonts instead of macromedia.fonts.

[I am suprised no one has come across this before]



--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]>
wrote:
>
> One correction, I think the class should still be called
BatikFontManager, not BatikManager.
>
> -----Original Message-----
> From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Uhlmann
> Sent: Thursday, June 01, 2006 4:35 PM
> To: [email protected]
> Subject: RE: [flexcoders] "No FontManager provided" after migrating
to Beta 3
>
> Yes, that's a bug in the default flex-config.xml. Change
>
>             <managers>
>                 <manager-
class>macromedia.fonts.JREFontManager</manager-class>
>                 <manager-
class>macromedia.fonts.BatikFontManager</manager-class>
>             </managers>
>
> To
>
>             <managers>
>                 <manager-
class>macromedia.fonts.JREFontManager</manager-class>
>                 <manager-
class>macromedia.fonts.BatikManager</manager-class>
>             </managers>
>
>
> (without the "Font")
>
> In compiler>fonts and it should work.
>
>
> Best,
> Alex
>
> Alex Uhlmann
> Consultant (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6969
> m: +44 (0) 7917 428 951
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of bronzemug
> Sent: 01 June 2006 20:08
> To: [email protected]
> Subject: [flexcoders] "No FontManager provided" after migrating to
Beta 3
>
> I migrated my Beta2 code base which is using some embedded ttf
fonts to
> Beta3 and suddenly started getting
>
> "exception during transcoding: No FontManager provided. Cannot
build font."
>
> I am using the standard flex-config.xml that comes with Beta3
distribution.
>
> Is there something I am missing?
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------
~--> Everything you need is one click away.  Make Yahoo! your home
page now.
> http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
> --------------------------------------------------------------------
~->
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>
>
>

>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to