All Projects → eugmes → fntsample

eugmes / fntsample

Licence: GPL-3.0 license
PDF and PostScript font samples generator (migrating from https://sourceforge.net/projects/fntsample/)

Programming Languages

c
50402 projects - #5 most used programming language
perl
6916 projects
CMake
9771 projects
Roff
2310 projects

Projects that are alternatives of or similar to fntsample

text-rendering-tests
Unicode’s test suite for text rendering engines
Stars: ✭ 135 (+575%)
Mutual labels:  unicode, fonts
Tehreer-Cocoa
Standalone text engine for iOS
Stars: ✭ 31 (+55%)
Mutual labels:  unicode, fonts
prettype
An easy to use text stylizer for your desktop!
Stars: ✭ 14 (-30%)
Mutual labels:  unicode, fonts
Weird Fonts
𝑨 𝑱𝒂𝒗𝒂𝑺𝒄𝒓𝒊𝒑𝒕 𝒑𝒂𝒄𝒌𝒂𝒈𝒆 𝒕𝒉𝒂𝒕 𝒕𝒖𝒓𝒏 𝒂𝒍𝒑𝒉𝒂𝒏𝒖𝒎𝒆𝒓𝒊𝒄 𝒄𝒉𝒂𝒓𝒂𝒄𝒕𝒆𝒓𝒔 𝒊𝒏𝒕𝒐 𝒘𝒆𝒊𝒓𝒅 𝒇𝒐𝒏𝒕 𝒔𝒕𝒚𝒍𝒆.
Stars: ✭ 602 (+2910%)
Mutual labels:  unicode, fonts
Awesome Typography
✏︎ Curated list about digital typography 🔥
Stars: ✭ 947 (+4635%)
Mutual labels:  unicode, fonts
Harfbuzz
HarfBuzz text shaping engine
Stars: ✭ 2,206 (+10930%)
Mutual labels:  unicode, fonts
Open Relay
Free and open source fonts from Kreative Software
Stars: ✭ 48 (+140%)
Mutual labels:  unicode, fonts
Tehreer-Android
Standalone text engine for Android aimed to be free from platform limitations
Stars: ✭ 61 (+205%)
Mutual labels:  unicode, fonts
react-native-custom-fonts
React Native Custom Fonts 📚
Stars: ✭ 19 (-5%)
Mutual labels:  fonts
unicode-programming
Unicode programming examples
Stars: ✭ 33 (+65%)
Mutual labels:  unicode
sysfont
Golang identification and matching of system fonts
Stars: ✭ 29 (+45%)
Mutual labels:  fonts
Acy-Font
自制手写字体。A hand-writing font set.
Stars: ✭ 20 (+0%)
Mutual labels:  fonts
crypto-icons
Cryptocurrency icons by Guarda
Stars: ✭ 54 (+170%)
Mutual labels:  fonts
homoglyphs
Homoglyphs: get similar letters, convert to ASCII, detect possible languages and UTF-8 group.
Stars: ✭ 70 (+250%)
Mutual labels:  unicode
kuu-pyaung
Laravel package to convert files and database from zawgyi to unicode.
Stars: ✭ 13 (-35%)
Mutual labels:  unicode
table2ascii
Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord
Stars: ✭ 31 (+55%)
Mutual labels:  unicode
fontproof
A font design testing class for SILE
Stars: ✭ 23 (+15%)
Mutual labels:  fonts
Anybody
3 axes/variable/sans/super compressed to super extended
Stars: ✭ 73 (+265%)
Mutual labels:  fonts
charcod.es
Small webpage for finding the odd unicode char code.
Stars: ✭ 18 (-10%)
Mutual labels:  unicode
utfbom
Detection of the BOM and removing as necessary
Stars: ✭ 87 (+335%)
Mutual labels:  unicode

fntsample

build License: GPL v3

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, gettext. 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.

fntsample could be built using Homebrew on macOS. Use the following commands to install dependencies and configure the build environment before building the code:

% brew install cmake pgk-config gettext cairo pango fontconfig freetype glib
% export CMAKE_PREFIX_PATH=/usr/local/opt/gettext

Alternatively you can install fntsample using a Homebrew formula:

% brew install eugmes/fntsample/fntsample

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].