Skip to content

[Feature] Delete glyph that are NOT been used in the .ass file #28

Description

@moi15moi

fontTools allow to create a subset of the font like this:

from fontTools import subset
from fontTools.ttLib.ttFont import TTFont

font = TTFont("font.TTF")

subsetter = subset.Subsetter()
subsetter.populate(text="ABÉé")
subsetter.subset(font)

font.save("font strip.TTF")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions