Font_ApplyFields

Tony van der Hoff tony at mk-net.demon.co.uk
Tue Oct 30 15:28:52 GMT 2001


On 30 Oct 2001, in message <200110301519.PAA19079 at inputplus.demon.co.uk>,
Ralph Corderoy <ralph at inputplus.demon.co.uk> 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?
> 
> Given this is the second time it's has been needed why not extend the
> grammar to allow `exceptions' to the normal interface to be defined.
> Even if it is just a mechanism to say `save lots more registers than
> should strictly be necessary'.
> 

Well, it's not the second time it's needed. The other exception is of a
completely different nature.

-- 
Tony van der Hoff         | MailTo:tony at mk-net.demon.co.uk
                          | MailTo:avanderhoff at iee.org
Buckinghamshire, England  | http:www.mk-net.demon.co.uk



More information about the oslib-team mailing list