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 flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, > "reflexactions" > <[EMAIL PROTECTED]> 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? > > > > >