On Tuesday 02 December 2008 03:51:02 pm Paul McNett wrote:
> johnf wrote:
> > On Tuesday 02 December 2008 02:39:47 pm Paul McNett wrote:
> >> johnf wrote:
> >>> Bummer! I don't have the font? Is there an easy way to fix this? I get
> >>> the following:
> >>
> >> Hmm. We used to do font replacement when the font wasn't found.
> >
> > I was able to edit the fontface in the cdxml. Thanks
>
> Great: you've fixed it for you, but we'd like to fix it for everyone, too.
>
> It shouldn't have been set explicitly in the cdxml in the first place, in
> which case the default font would have been used. But we do need to revisit
> what happens when FontName gets set to a nonexistent font on the given
> system.
>
> On one hand, it makes sense to raise the font exception, because the appdev
> code is explicitly setting a font that doesn't exist (the appdev deployment
> code should be responsible for making sure all needed fonts are available).
>
> On the other hand, it usually isn't that big a deal to substitute with
> existing fonts, in which case we'd want to issue a MissingFontWarning.
>
> Can you commit a modified mover.cdxml with all font face references removed
> (pending Ed's approval, of course)?
>
> Paul
Sure! But a follow up question. How does one use a cdxml file as class to be
used in a hand coded form. For example:
I want to do the following:
vs=dabo.ui.dSizer('v')
vs.append(an instance of mover.cdxml)
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]