I have a font set -
Type: Font Suitcase
I am sure I have used a terminal command to convert it to a TTF or OTF. I don't really want to pay for software to do so. What is the best way of converting these types of font?
Font Suitcases can potentially hold 2 different kinds of fonts: bitmap fonts and TrueType fonts. Normally, font suitcases that hold bitmap font data are only one half of the font; to be usable you need to have the additional PostScript Outline font files (these will have an
Otherwise, the font suitcase can represent a TrueType font, which compared to a "PostScript Type 1 Font Suitcase", is truly self-contained.
I'm not aware of command-line font converters for the Mac. The only type of conversion I could imagine using command line tools would be converting from a resource-fork-based Font Suitcase to a Datafork TrueType font (.dfont), and possibly from a Mac TrueType to a Windows TrueType font (basically you'd need to extract the
To try to figure out if the Mac Font Suitcase is a TrueType font, you can use the following command:
What this does is return the number of times
Note that by default, terminal command will only act on the data fork part of files. For example:
This shows that the file is empty (has a file size of 0). To specifically target the resource fork, you append
EDIT: If it is a Mac TrueType font, I can convert it to one or more Windows TrueType fonts (.ttf) for you. (For this particular type of conversion, there's no need to use font software; a simple Mac resource editor (and knowledge of this process) should be sufficient. If I do convert it in this manner, I'll provide screenshots of what I'm doing for the record).
EDIT 2: See my answer on StackOverflow for "Using OS 9 resource fork fonts with CSS" for a tool I wrote that would allow drag and drop extracting of
Font Suitcases can also contain PostScript Type 1 outline fonts. The current highest voted answer above does not mention this. And the solution proposed there does not work for these types of suitcases.
Here is a screenshot of what a Type 1 suitcase looks like in OS X:
The steps for converting these to OpenType OTF are:
*When using this method, I found that a few kerning pairs were lost. I don't know why, but it was usually the same several kerning pairs in each font that went missing. Out of 30-100 kerning pairs per font, maybe 3-5 would be missing. But these can be restored manually. Using the commercial font management app FontExplorerX Pro, for example, you can see all the kerning pairs in a font and their values. You can then manually enter any missing values in FontForge's metrics window before exporting the font.