![]() ![]() This shows that the file is empty (has a file size of 0). For example: ls -la 1 root admin 0 /Library/Fonts/BankGothic ![]() Note that by default, terminal command will only act on the data fork part of files. If this returns 0, the file is most likely not a TrueType font. What this does is return the number of times 'sfnt' is found in the resource fork of the file in question. To try to figure out if the Mac Font Suitcase is a TrueType font, you can use the following command: grep -c sfnt /Library/Fonts/BankGothic/.namedfork/rsrc ![]() 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 'sfnt' resource entries). I'm not aware of command-line font converters for the Mac. Otherwise, the font suitcase can represent a TrueType font, which compared to a "PostScript Type 1 Font Suitcase", is truly self-contained. 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 LWFN icon). Font Suitcases can potentially hold 2 different kinds of fonts: bitmap fonts and TrueType fonts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |