This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# This script prepares fonts for use for embedded software. It minimizes them | |
# (to reduce size and increase performance), encodes them into C files (needed | |
# by devices without file systems), and prints debug info. | |
# | |
# When minimizing, it subsets the glyphs (to a latin set as-is here) and strips | |
# out layout features. It provides options for whether to keep kerning and in | |
# which format. | |
# |