FontForge is a powerful tool for creating and editing fonts. It is available for multiple platforms, including macOS, Windows, and Linux, and can be run programmatically from the command line.
On macOS, FontForge is installed in the/Applications/FontForge.app
directory. When running FontForge scripts from the command line, the FontForge executable must be used which is located at /Applications/FontForge.app/Contents/MacOS/FontForge
.
FontForge scripts can be written either in Python (-lang=py
) or using FontForge's native scripting language (-lang=ff
or-lang=pe
). Another way to specify the scripting language is to set the FONTFORGE_LANGUAGE
environment variable.
Below is a complete example of using the FontForge CLI to convert a TTF font to an SVG font that relies on FontForge's native scripting:
/Applications/FontForge.app/Contents/MacOS/FontForge -lang=ff -c 'Open($1); Generate($2)' my-font.ttf my-font.svg
Explore the deep mathematical relationships and typographic beauty within numerical series.
A collection of phonetic transcriptions showcasing the beauty of phonetic notation.
A collection of important physical quantities that marks their beauty and significance.
Explore the fine details of the characters used to communicate the sounds of human speech.
Explore the aesthetics and fine details of symbols drawn from different branches of mathematics.
A collection of large-format formulas showcasing the beauty of mathematics and mathematical typesetting.
A collection of elaborate, large-format chemical structure depictions. Discover the fine details of chemical structures in their own right.
A pronunciation guide to the names of typographers and type designers.
A pronunciation guide for the names of fonts.
Execute Metafont code online.
A daily crossword puzzle for typographical terms.
Convert COLRv1 fonts to SVG.
Improving the appearance of chemical structures by carefully adjusting the spacing between atoms and bonds.
A curated list of awesome resources on Metafont.
A curated list of awesome resources on typography.
Compare and test different emoji fonts.
An interactive demo of the Computer Modern metafont.
A curated list of awesome resources on font engineering.
All prices listed are in United States Dollars (USD). Visual representations of products are intended for illustrative purposes. Actual products may exhibit variations in color, texture, or other characteristics inherent to the manufacturing process.