mkttfdir utility generates font.dir file for TrueType font. ftinfo utility reports TrueType font info. . mkttfdir only supports iso8859-1 and JIS encodings. For other font encoding try the ttmkfdir package.
libft-perl | Perl module for the FreeType library | Mehr ...
This module allows you to manipulate TrueType fonts from Perl using the FreeType library. It provides an interface closely modeled on the FreeType API, along with an easy-to-use wrapper module.