fontforge

Outline and bitmap font editor and converter for multiple formats

brewmacoslinux
Try with needOr install directly
Source

About

Command-line outline and bitmap font editor/converter

Commands

fontforge

Examples

Convert a font file from TTF to OTF format$ fontforge -c 'Open($1); Generate($1:r + ".otf")' input.ttf
Open and edit a font file in interactive mode$ fontforge myfont.ttf
Batch convert multiple fonts using a script$ fontforge -script convert.pe *.ttf