FICHA · AUR

txtw-git

Return the pixel width of the given strings for the given font

  • cli-tool
  • TERMINAL
  • FONTS
  • MEASUREMENT
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 5, 2026 description in en

Description

Font layout scripts can measure the pixel width of strings for a chosen font before drawing or arranging text. This small command-line tool is useful in status bars, generators, and UI tooling.

Run it from a shell with the font and strings you need to measure. Results depend on installed fonts and rendering libraries, so test with the same environment used by the final UI.

How to run

txtw

Commands: txtw

Permissions

Permissions not analysed for this source yet.