Sample TTF font for testing renderers and loaders, free and CC0

TrueType is the font format with the widest support, which makes it the baseline: if a loader handles anything, it handles this.

ttf/loremfile-sans.ttf is "Loremfile Sans": 95 printable ASCII glyphs, each drawn as a rectangle whose width is computed from the character's codepoint. The family is generated rather than derived from any existing typeface, so there is no licence to read and nothing to attribute; like everything here it is CC0.

The rectangles are deliberate. They make metrics visible to the naked eye, so a renderer that ignores advance widths or applies the wrong scale is obvious immediately, and they keep the file small enough to commit to a test suite without thinking about it.

Use it to test font loading and parsing, @font-face handling, metrics extraction, subsetting and conversion between wrappers. The same family is published as OTF, WOFF and WOFF2, so a conversion can be checked against a reference.

1 file. The same list as JSON: https://loremfile.dev/ttf/index.json

TTF files
FileSizePropertiesDescription
loremfile-sans.ttf 5.6 KB (5,616 bytes) The Loremfile Sans family as TrueType: 95 printable ASCII glyphs drawn as rectangles of varying width, with fixed head timestamps and an unrestricted embedding permission.
Snippets
<a href="https://loremfile.dev/ttf/loremfile-sans.ttf">download</a>
curl -O https://loremfile.dev/ttf/loremfile-sans.ttf

Every TTF file in one command, each checked against its hash: npx loremfile get --format ttf, or loremfile get --format ttf after pip install loremfile.

File names follow the naming grammar. Verify a download against sha256sums.txt.