Calculate the width in pixels of text for a given font.
dzen2-textwidth fontname string
textwidth is a simple utility to calculate the width in pixels of text with a given font.
This tool is provided as part of the dzen2 (1) package.
A summary of options is included below.
fontname
Set the font.
string
Set the string.
textwidth was written by Robert Manea.
This manual page was written by bertagaz <[email protected]>, for the Debian project (but may be used by others).