As a person whose work requires me to deal with fonts all day, I was naturally curious about the state of Apple Type Services (ATS) framework in Leopard: primarily, whether or not font cache corruption will be an issue.

While my limited testing shows some improvements in the stability of ATSServer when handling large numbers of fonts, what it focused on is this: how do I reset ATS's font caches in Leopard if they become corrupt? It appears as if there is no central ATS font cache in /Library » Caches » com.apple.ATS any more; in Leopard, those caches are now per-user, and stored in /private » var » folders. The directory names for a particular user within the 'folders' folder are hashed or randmoly-generated to provide security, but I was able to come up with the following one-line shell scripts for deleting the ATS cache folders.

After running this script, the machine should be restarted so that the caches can rebuild.

[robg adds: Please note the use of both sudo and rm -rf. If there are any typos in the above, or if you try to type them by hand and make a minor error, the results could be very bad. I tested both on my 10.5 test machine, and no damage was done. Still, please be cautious here.]

The arguments to the cut command may not be right for your system—they weren't for mine. I suggest running the lsof pipeline with the two greps, and copying (by mouse) the name of the directory to be deleted from that output.