Font utilities

From DejaVuWiki

Jump to: navigation, search

These font utilities were developed to aid management of DejaVu fonts and could be handy for other font designers too. They are free to use, modify, redistribute etc.

Contents

Status file generator

status.pl

sample output

Usage: ./status.pl VERSION OLD_STATUS SFD_FILES

Generates status file on standard output.

Unicode coverage analyzer

unicover.pl

sample output

Usage: ./unicover.pl UnicodeData.txt Blocks.txt SFD_FILE1 LABEL1 (SFD_FILE2 LABEL2...)

Required files: http://www.unicode.org/Public/UNIDATA/UnicodeData.txt and http://www.unicode.org/Public/UNIDATA/Blocks.txt

Generates Unicode coverage table on standard output.

Language coverage analyzer

langcover.pl

sample output

Usage: ./langcover.pl fc-lang SFD_FILE1 LABEL1 (SFD_FILE2 LABEL2...)

Required files: fc-lang directory with files from http://webcvs.freedesktop.org/fontconfig/fontconfig/fc-lang/

Generates language coverage table on standard output.

SFD normalizer

sfdnormalize.pl

Usage: ./sfdnormalize.pl SFD_FILES

Normalizes SFD files (discards or normalizes GUI-related information stored there which interferes with team development). Changed files have suffix .norm. For the list of normalized things, see comment on top of source code.

Glyph comment colorizer

colorize.pl

Usage: ./colorize.pl COLOR SFD_FILES < GLYPH_CODES_FILE

Colorizes given glyphs with given comment color. Changed files have suffix .color. See source code for more information.

Problems finder

problems.pl

Usage: ./problems.pl [-l <0|1|2|3>] SFD_FILES

Finds various kinds of problems (some are not real problems only style policy violations) in SFD files. See comment on top of source code for more information.

Personal tools