Search and Preview Fonts Using The Terminal

fontpreview is a commandline tool that lets you quickly search for fonts that are installed on your machine and preview them. The fuzzy search feature is provided by fzf and the preview is generated with imagemagick and then displayed using sxiv.

This tool is highly customizable, almost all of the variables in this tool can be changed using the commandline flags or you can configure them using environment variables.

Arch and Arch based distro users can install fontpreview from AUR. But it’s easy to install it on other distros too. Check out fontpreview on Github to learn how to install and configure it.