On Feb 16, 2006, at 8:38 AM, Meyer Jim wrote:
have one customer that is getting some unexplained nil
exceptions..... and every time they do, the following is found in
their system log created by my application.....
"*** Warning: ATSUSetFontFallbacks has been deprecated. Use
ATSUFontFallbacks objects instead. ***"
Now I realize that this is just a warning but does anybody have a
clue what might be going on here? Should I tell them to reinstall
fonts, update his system or possibly reinstall his system? I
never get this message.....
Yes, I've seen this message in the system log. I traced the problem
back to a function where I use StringWidth().
The problem is gone when I comment it out.
It's in a class function that gets called hundreds of times, as
instances are being created in a short period of time.
The problem doesn't occur on my development G4, but does on my
PowerBook G4.
I haven't had time to experiment with this.
Each instance of my class creates -- and then discards -- a new
picture, just to get the result of the StringWidth function.
I want to try and create a static class property of type Picture so
that only one is being used for this particular exercise.
I don't know if that has anything to do with it, but it's worth a try.
Please let us know if you find the cause of (and the remedy for!)
this problem.
Leonardo Borsten
http://www.prepressmiami.com
http://www.fontcatalog.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>