Two tiny tools for studying Type 1 fonts. - t1area: give informations about the black area of a glyph; - t1extremes: tell if "extremes" of Bzeier curves are at the right place. Compile the tools with: gcc -lm -lt1 -I /usr/local/include -L /usr/local/lib -o t1area t1area.c gcc -lm -lt1 -I /usr/local/include -L /usr/local/lib -o t1extremes t1aextremes.c Thomas Baruchel (firstname.lastname@example.org)
Download the contents of this package in one zip archive (10.4k).
t1infos – Utilities for PostScript fonts
There are here two little programs written in C (using t1lib)
for scanning Type 1 fonts, and doing:
– compute the ‘black area’ of each glyph, with how much percent of the square containing the glyph is black, and
– checking if the ‘extremas’ (see Adobe Type 1 specifications) of the outline are correct, and tell which one are missing.
There is also here a PostScript dictionary containing three algorithms for automatic kerning (the kerning is computed ‘on the fly’ instead of being pre-computed by external software like TeX, groff or lout; very useful for some PostScript hacking). Two of these algorithms are quite classical; the third is original and is PostScript-optimized. The PostScript file in the distribution contains both demonstration code and the dictionary itself.
|License||BSD Style License|
manipulate Postscript files|