Font_ApplyFields

Jonathan Coxhead jonathan at doves.demon.co.uk
Tue Oct 30 19:25:32 GMT 2001


On 30 Oct 2001, at 15:19, Ralph Corderoy wrote:

> 
> Hi,
> 
> Sorry to but in, it isn't what I'm here for, but...
> 
> > > In all versions of FontManager up to and including 3.36,
> > > Font_ApplyFields corrupted R5-R7. The OSLib veneers don't know
> > > this, so font_apply_fields ends up not being APCS compliant.
> > 
> > The only way I can see of fixing this is produce a hand-crafted
> > veneer which saves and restores these registers around the SWI call,
> > and pathch it in to the library a similar fashion to
> > OSReadVarValSize. Is there a better way?

   Yep---

      EXIT (R5?, R6?, R7?)

        /|
 o o o (_|/
        /|
       (_/



More information about the oslib-team mailing list