Expand description
A library for managing a font database, including scanning, parsing, and searching fonts.
Provides utilities to synchronize font files on disk with a SQLite database and search for font files by their family names.
Modules§
Functions§
- gather_
and_ clean_ font_ paths - Synchronizes the font files in the database with the files currently on disk.
- open_
for_ mmap - Opens a file with performance-optimized flags for memory mapping.
- select_
font_ by_ name - Searches the database for font file paths matching a specific font family name.
- update_
font_ database - Updates the font database by scanning the provided root directory.