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.
Today, most of the different scripts are combined together into one Makefile.
If you want to build the full ttf versions of DejaVu, just type this in a shell:
If you want the version with only the LGC characters (Latin, Greek and Cyrillic), use:
Checking for problems
Before committing a patch, you need to check for some problems first, using:
Getting ready beforing committing to SVN or making a patch
Don't forget to do:
before you make a patch. This will replace the source sfd files with normalized versions, which will make patches cleaner.
to get updated status.txt, unicover.txt and langcover.txt files. This won't replace the ones in the main directory, but will create new ones in the build/ directory.
will generate the full set of packages that are uploaded when a DejaVu Fonts release is made. Generated packages can be found in the dist/ directory.
Regenerating condensed styles
will create new versions of the Sans Condensed and Serif Condensed styles. This is usually run once before release to automatically update them with the changes in the Sans and Serif styles.
These aren't used directly anymore, but called from by the Makefile.
Status file generator
Usage: ./status.pl VERSION OLD_STATUS SFD_FILES
Generates status file on standard output.
Unicode coverage analyzer
Usage: ./unicover.pl UnicodeData.txt Blocks.txt SFD_FILE1 LABEL1 (SFD_FILE2 LABEL2...)
Generates Unicode coverage table on standard output.
Language coverage analyzer
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.
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.
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.
Glyph comment colorizer
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.