Damaged Fonts - Fix?

I have an extensive collection of fonts (60,0000+). Several hundred of them will crash my system when I open one of them in Finder (double-click the suitcase). I picked one at random for some serious examination.


I looked at my sample with many font tools. My latest tool was FontDoctor (v5 and v7). FontDoctor reported "no problems found" with my font. Yet the crash persists.


Please suggest a tool that can do a thorough job of investigating and repairing my corrupt fonts.



Gary

G4, Mac OS 9.2.x

Posted on May 21, 2012 12:43 PM

Reply
5 replies

Aug 6, 2012 7:12 AM in response to Gary - former developer

Well it turns out that NO tool can repair this font. So I wrote my own.


The problem turned out to be a bad 'hhea' table. The values for Ascender, Descender and LineGap were all zero.


Once I changed these values to something reasonable, the font appeared like magic and my system no longer crashes with a "Divide by Zero" error.


Gary

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Damaged Fonts - Fix?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.