Re: Why is NSFontManager lying to me ?
Re: Why is NSFontManager lying to me ?
- Subject: Re: Why is NSFontManager lying to me ?
- From: Warren Dodge <email@hidden>
- Date: Sat, 4 Mar 2006 11:22:14 -0800
On Feb 27, 2006, at 12:16 PM, Robert Clair wrote:
See if the fonts show up in the "All Fonts" list of /Applications/
Font Book. If they do, then you should be able to get info on the
font (cmd-I) and read the file it came from off of the "location"
field.
I had my friend do this - they don't show up, they're not there.
-----------------------------
A quick test done here
[program omitted]
...
Yes that's basically what I did to find out the names of the
offenders.
The bottom line is that for whatever reason NSFontManager is
providing an incorrect list of the fonts currently available on the
system. However it comes about it's rather tacky behavior.
I haven't worked with this directly, but the first comment on Wil's
debugging blog post rang an alarm bell on this topic.
See: http://wilshipley.com/blog/2006/03/pimp-my-code-part-8-mary-mary-
why-you.html
The post is about NSURLCache corruption when the cache is truncated,
as done by Delicious Library 1.5.2. The first comment, from David,
mentions that he has seen the same problem when users upgraded from
10.3.9 to 10.4 and it also seemed to affect Apple in that working
directly with NSFontManager was a problem when users upgraded from
10.3.9 to 10.4. So, perhaps your friend's system was upgraded from
10.3.9 and yours was not?
HTH,
Warren
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden