torchfont.datasetsΒΆ
Dataset utilities for loading glyph samples from font files.
Examples
Build a dataset sourced from the Google Fonts index:
from torchfont.datasets import GoogleFonts
ds = GoogleFonts(root="data/google_fonts", ref="main", download=True)
Modules
Font folder dataset utilities for glyph loading and indexing. |
|
Dataset utilities for working with the Google Fonts repository. |
|
Dataset wrapper that materializes fonts from remote Git repositories. |