<object data="https://img.shields.io/badge/License-GPL%20v3-blue.svg" type="image/svg+xml">License: GPL v3</object>
fntsample is a tool that can be used to make font samples that show coverage of the font and are similar in appearance to Unicode Charts. It was developed for use with DejaVu Fonts project. fntsample is licensed under GPL version 3 or later.
Releases are available from releases page. For source code releases for versions before 5.0 visit the old project page. The source code and issues tracker are accessible via the project page.
The following libraries are required to build fntsample: cairo, fontconfig, FreeType2, GLib, Pango. They should be available in most Linux distributions. Additionally Unicode blocks file is required.
CMake is used to build the code. In the directory with source code execute:
% mkdir build % cd build % cmake .. -DUNICODE_BLOCKS=/path/to/Blocks.txt % make % make install
The last step will install files under /usr/local by default. This can be overridden by adding -DCMAKE_INSTALL_PREFIX=/another/prefix to the cmake invocation.
The basic usage for fntsample looks as follows:
% fntsample -f /file/to/font/file.ttf -o output.pdf
For more advanced usage consult the man pages for fntsample and pdfoutline.