freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Carbon-free fonts support for Mac OS X 10.5 (Leopard) compatibi


From: George Williams
Subject: Re: [ft] Carbon-free fonts support for Mac OS X 10.5 (Leopard) compatibility
Date: 07 Nov 2007 09:46:11 -0800

On Tue, 2007-11-06 at 19:59, Benjamin Reed wrote:
I was told it was deprecated by one of the Xar developers.
Ah. A quick google search reveals nothing from Apple (thanks) but lots of people complaining about /rsrc being deprecated.

If you look at /var/log/system.log you will see messages like:
Nov 6 15:27:59 george-williams-powerbook-g4-12 kernel[0]: foo.c/rsrc file access by /rsrc was deprecated in 10.4

On the other hand there seems to be another mechanism to get at it from POSIX
    strcat(filename,"/..namedfork/rsrc")
(using this does not cause a warning message to appear in my 10.5 system log). Said to work back to 10.3.

However, there are warnings that ..namedfork doesn't work on all file systems.

So my solution will be:
   First try to append "/.....namedfork/rsrc"
   If that fails try "/rsrc"

Thanks for the heads up. Perhaps I should read /var/log/system.log more often!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]