# macUtils: Access fonts in Mac file formats

ttLib.macUtils.py – Various Mac-specific stuff.

fontTools.ttLib.macUtils.getSFNTResIndices(path)

  Determine whether a file has a ‘sfnt’ resource fork or not.

fontTools.ttLib.macUtils.openTTFonts(path)

  Given a pathname, return a list of TTFont objects. In the case of a flat TTF/OTF file, the list will contain just one font object; but in the case of a Mac font suitcase it will contain as many font objects as there are sfnt resources in the file.

class fontTools.ttLib.macUtils.SFNTResourceReader(path, res_name_or_index)

  Bases: `BytesIO`

  Simple read-only file wrapper for ‘sfnt’ resources.