image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #1  
Old July 11th, 2005, 01:21 PM
Registered User
 
Join Date: Jul 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Tarz is on a distinguished road
[How To] Script the Cleaning of the Font Cache

A corrupted OS X font cache will cause all sorts of layout and display problems with fonts. Unfortunately there's no simple tool or utility available with OS X by default for cleaning up a font cache. That's why I developed a script to clean up a machine's font cache and force a reboot (which is important because deleting the font cache could potentially leave OS X in an unstable state if it tries to use the missing cache files). A bonus of this script is that you can run it on a remote machine via SSH since it's entirely command-line driven (e.g., a help desk can run it on a Mac in another building).

This script is written for OS X 10.3.x. It may or may not work with other versions of OS X. I don't have those available to test with at the moment.

As with any freebie, this is "use at your own risk".

The script is on my web site at:
http://mikesalsbury.com/mambo/content/view/99/2/
Reply With Quote
  #2  
Old July 11th, 2005, 02:08 PM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
There are some simple tools to clean out the Font Cache, Yasu being one of them.
__________________

Reply With Quote
  #3  
Old August 4th, 2005, 04:43 PM
Registered User
 
Join Date: Jul 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Tarz is on a distinguished road
I know, and I agree that they're often easy to use. Unfortunately in the company I work for, every software purchase requires us to run the license agreement past our Legal department (which usually takes a couple of months) and our Division VP, and our CEO. Rather than jump through all those hoops, I figured out how to script the activity myself and then call that script regularly from a cron task. That has managed to almost completely eliminate the issue of corrupted font cache files on our OS X systems. I figured others might wonder if they can make do without a commercial or shareware product. My script will help those in that situation.
Reply With Quote
  #4  
Old August 4th, 2005, 04:49 PM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
Yasu - FREE
__________________

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:25 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.