Font_ApplyFields

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


Kevin Bracey wrote:

> 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?

-- 
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