from fontTools.ttLib import TTCollection ttc = TTCollection("example.ttc") for i, font in enumerate(ttc): font.save(f"example-i.ttf")
, as a TTC is a single file that "packs" multiple font styles (like Bold, Italic, and Regular) into one. Stack Overflow convert ttc font to ttf best
: An excellent tool specifically optimized for web fonts. from fontTools