FTLINT(1)

πŸŽ€ FTLINT(1) πŸŽ€

okay so real quick β€” you're looking at the ftlint page from the General Commands Manual, and bestie, it's literally just a simple font tester. that's the whole vibe. let's get into it πŸ’…


✨ NAME ✨

ftlint β€” a simple font tester. that's it, that's the name, she's humble 🫢


🌸 SYNOPSIS 🌸

ftlint [options] ppem font...

πŸ’– DESCRIPTION πŸ’–

so ftlint opens up the font(s) you hand it, then loads and renders glyphs at whatever ppem value you gave it. ✨

the shape complexity of outline glyphs gets examined based on their taxicab perimeters β€” the higher that number, the more complex the shape, no cap. and for glyphs that render successfully, it calculates the bitmap MD5 checksum for regression testing, plus horizontal (X) and vertical (Y) acutances for quality assessment. the acutance is equal to 2.0 for monochrome bitmap fonts, and it approaches this value for hinted anti-aliased fonts. πŸ”₯

  • ppem β€” Size in pixels per EM. that's it, that's the unit πŸ¦‹
  • font β€” The font file(s) to test. you can give her multiple, she'll handle it πŸ’œ
this program is part of the FreeType demos package. iconic behavior, honestly πŸ‘‘

⭐ OPTIONS ⭐

  • -f L β€” Use hexadecimal (not decimal!) number L, defined by FT_LOAD_XXX flags. the default is 0. yes, hex, don't come at her with decimals πŸ™ˆ
  • -r N β€” Set render mode to N:
    • 0 β€” normal
    • 1 β€” light
    • 2 β€” mono
    • 3 β€” horizontal LCD
    • 4 β€” vertical LCD

which corresponds to the values of the FT_RENDER_MODE_XXX enumeration. default is 0 😌

  • -i I-J β€” Range of glyph indices to use. default: all of them, she's not picky πŸ’…
  • -q β€” Quiet mode without the rendering analysis. shhh 🀫

lowkey important: those -f flags are raw FT_LOAD_XXX values in hex, and the -r modes map one-to-one onto FT_RENDER_MODE_XXX. keep those exact, bestie, iykyk πŸ’€

and that's the page!! πŸŽ€ written for FreeType 2.15.0, dated October 2026 β€” mwah, sending you off with a kiss, go test some fonts fr fr πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from