Menu

Tree [49f8f0] master release/5.1 /
 History

HTTPS access


File Date Author Commit
 cmake 2017-10-19 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [99dc1e] Build everything using CMake
 po 2017-10-25 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [a46bb6] Update Ukrainian translation
 .travis.yml 2017-10-19 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [28c095] Add fntsample --help for testing and install it...
 CMakeLists.txt 2017-10-21 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [e0456f] Add support for reading Unicode blocks file at ...
 COPYING 2008-10-04 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [e20fff] Move to GPLv3
 ChangeLog 2017-10-30 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [49f8f0] Update changelog
 Messages.sh 2017-10-24 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [f0fbec] Scan unicode_blocks.c for translatable strings
 README.rst 2017-10-24 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [c022ac] Add README
 config.h.in 2017-10-19 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [99dc1e] Build everything using CMake
 fntsample.1.in 2017-10-27 Khaled Hosny Khaled Hosny [6b897a] Typo
 fntsample.c 2017-10-27 Khaled Hosny Khaled Hosny [651168] Combine the two if’s
 genblocks.awk 2017-10-21 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [e0456f] Add support for reading Unicode blocks file at ...
 pdfoutline.1.in 2017-10-24 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [f899b8] Update the website link
 pdfoutline.pl 2017-10-19 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [99dc1e] Build everything using CMake
 read_blocks.c 2017-10-24 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [3b3d67] Improve errors handling when reading Unicode bl...
 screenshot.png 2017-10-24 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [e5eba6] Add screenshot
 unicode_blocks.h 2017-10-21 Eugeniy Meshcheryakov Eugeniy Meshcheryakov [e0456f] Add support for reading Unicode blocks file at ...

Read Me

fntsample

build <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.

Output example

Features

  • Support for various font formats using FreeType library, including TrueType, OpenType, and Type1.
  • Creating samples in PDF, PostScript, and SVG formats.
  • Adding outlines with Unicode block names for PDF samples.
  • Selection of code ranges to show in charts.
  • Comparing of two font files with highlighting of added glyphs.
  • Runs on Linux and other Unix-like systems.

Download

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.

Building

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.

Usage

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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.