torchfont.datasets.google_fontsΒΆ

Dataset utilities tailored to the official Google Fonts repository.

References

Repository layout and licensing details are documented at https://github.com/google/fonts.

Examples

Assemble a dataset backed by the live Google Fonts index:

ds = GoogleFonts(root="data/google_fonts", ref="main", download=True)

Classes

GoogleFonts(root, ref, *[, patterns, ...])

Dataset that materializes glyph samples from the Google Fonts project.