First, here's an example of what I was talking about for fonts embeded in modlues: http://blog.flexmonkeypatches.com/2007/02/12/changing-embedded-true-type-fonts-at-runtime-in-flex-applications/
I'm not really sure how modules work under the hood, so I'm not entirely sure about that. Random thoughts on the problem: maybe there's a problem with different application contexts. Passing the embeded font to the module and then having the module register the font may be a solution. - Daniel Freiman On Thu, Feb 14, 2008 at 10:14 AM, reflexactions <[EMAIL PROTECTED]> wrote: > Nope, didnt know I had to... > > Ok so assuming that works.... > > How can I do the reverse... > > i.e. embed the font in the application but then use it in the module, > as that seems to me to be the most effecient solution. > tks > > --- In [email protected] <flexcoders%40yahoogroups.com>, "Daniel > Freiman" <[EMAIL PROTECTED]> > wrote: > > > > > After loading the module, are you registering the font with the > Font class > > after it is loaded? > > > > - Dan Freiman > > > > On Thu, Feb 14, 2008 at 6:40 AM, reflexactions <[EMAIL PROTECTED]> > > wrote: > > > > > Hmm well sometimes pays to read your own posts: > > > I found a "solution" though this doesnt seem to me to be the > correct > > > way things should work. > > > > > > If I explicitly embed the font in both the application and the > module > > > then it works. > > > > > > This makes for really fat applications... > > > Is there a better way??? > > > > > > --- In [email protected] > > > <flexcoders%40yahoogroups.com><flexcoders%40yahoogroups.com>, > > > "reflexactions" > > > <reflexactions@> wrote: > > > > > > > > What I am trying to do: > > > > Rotated Axis Labels in a Column Chart in a Module. > > > > > > > > To do this I need to embed the font.Ok. > > > > > > > > The problem I get is this: > > > > If I embed the font in the module the AxisRender.updateCaches > sets > > > > _canRotate to false becuase it cant find the font in the > > > > Application's SystemManager embedded Font List. > > > > The label is therefore set to rotation 0 and renders, it is > visible > > > > and clearly in the requested embeded font. > > > > > > > > If I instead embed the font in the application then _canRotate > is > > > > true becuase it can find it in the SytemManager list, the label > is > > > > set to rotation 45 but nothing is then visible, I think becuase > the > > > > font is embeded in the parent application not the module. > > > > > > > > Is there some special trick to using embedded fonts in module? > > > > > > > > > > > > > > > > > >

