EnglishFrenchSpanish

Ad


OnWorks favicon

fntsample - Online in the Cloud

Run fntsample in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command fntsample that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


fntsample - PDF and PostScript font samples generator

SYNOPSIS


fntsample [ OPTIONS ] -f FONT-FILE -o OUTPUT-FILE
fntsample -h

DESCRIPTION


fntsample program can be used to generate font samples that show Unicode coverage of the
font and are similar in appearance to Unicode charts. Samples can be saved into PDF
(default) or PostScript file.

OPTIONS


fntsample supports the following options.

--font-file, -f FONT-FILE
Make samples of FONT-FILE.

--font-index, -n IDX
Font index for FONT-FILE specified using --font-file option. Useful for files that
contain multiple fonts, like TrueType Collections (.ttc). By default font with
index 0 is used.

--output-file, -o OUTPUT-FILE
Write output to OUTPUT-FILE.

--other-font-file, -d OTHER-FONT
Compare FONT-FILE with OTHER-FONT. Glyphs added to FONT-FILE will be highlighted.

--other-index, -m IDX
Font index for OTHER-FONT specified using --other-font-file option.

--postscript-output, -s
Use PostScript format for output instead of PDF.

--svg, -g
Use SVG format for output. The generated document contains one page. Use range
selection options to specify which.

--print-outline, -l
Print document outlines data to standard output. This data can be used to add
outlines (aka bookmarks) to resulting PDF file with pdfoutline program.

--include-range, -i RANGE
Show characters in RANGE.

--exclude-range, -x RANGE
Do not show characters in RANGE.

--style, -t "STYLE: VAL"
Set STYLE to value VAL. Run fntsample with option --help to see list of styles and
default values.

--no-embed, -e
Draw the outlines of the glyphs instead of embedding them in the PDF file. This
can be used when embedding the font is not desired or not allowed.

--help, -h
Display help text and exit.

Parameter RANGE for -i and -x can be given as one integer or a pair of integers delimited
by minus sign (-). Integers can be specified in decimal, hexadecimal (0x...) or octal
(0...) format. One integer of a pair can be missing (-N can be used to specify all
characters with codes less or equal to N, and N- for all characters with codes greather or
equal to N). Multiple -i and -x options can be used.

COLORS


Glyph cells can have one of several background colors. Meaning of those colors is
following:

white normal glyph present in the font, this includes space glyphs that are usually
invisible;

gray this glyph is defined in Unicode but not present in the font;

blue this is a control character;

black this glyph is not defined in Unicode;

yellow this is a new glyph (only when used with -d).

EXAMPLES


Make PDF samples for font.ttf and write them to file samples.pdf:
fntsample -f font.ttf -o samples.pdf

Make PDF samples for font.ttf, compare it with oldfont.ttf and highlight new glyphs. Write
output to file samples.pdf:
fntsample -f font.ttf -d oldfont.ttf -o samples.pdf

Make PostScript samples for font.ttf and write output to file samples.ps. Show only
glyphs for characters with codes less or equal to U+04FF but exclude U+0370-U+03FF:
fntsample -f font.ttf -s -o samples.ps -i -0x04FF -x 0x0370-0x03FF

Make PDF samples for font.ttf and save output to file samples.pdf adding outlines to it:
fntsample -f font.ttf -o temp.pdf -l > outlines.txt
pdfoutline temp.pdf outlines.txt samples.pdf

Use fntsample online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad