Lably
Skip to content

FontForge

  • 3 min read
  • 3 chapters

Related on Lably

Through Free and open-source software, Microsoft Windows and Python (programming language)

To facilitate automated format conversion and other repetitive tasks, FontForge implements two scripting languages: its own language and Python. FontForge can run scripts from its GUI, from the command line, and also offers its features as a Python module, so it can be integrated into any Python program.

FontForge supports Adobe's OpenType feature file specification (with its own extensions to the syntax). It also supports the unofficial Microsoft mathematical typesetting extensions (MATH table) introduced for Cambria Math and supported by Office 2007, XeTeX and LuaTeX. At least one free OpenType mathematical font has been developed in FontForge.

FontForge uses FreeType for rendering fonts on screen. Since the November 15, 2008 release, FontForge uses libcairo and libpango software libraries for graphics and text rendering, providing anti-aliased graphics and complex text layout support.

FontForge can use Potrace or AutoTrace to auto trace bitmap images and import them into a font.

Parts of FontForge's code are used by the LuaTeX typesetting engine for reading and parsing OpenType fonts.

The FontForge source code includes a number of utility programs, including 'showttf', which shows the contents of binary font files, and a WOFF converter and deconverter.

Supported formats

FontForge supports a wide variety of font formats. Its native Spline Font Database format (.sfd file name extension) is text-based and facilitates collaboration between designers, as difference files can be easily created. FontForge also supports the interoperable UFO source format, which is based on XML.

The software supports many other font formats and converts fonts from one format to another. Supported font formats include: TrueType (TTF), TrueType Collection (TTC), OpenType (OTF), PostScript Type 1, TeX Bitmap Fonts, X11 OTB bitmap (only sfnt), Glyph Bitmap Distribution Format (BDF), FON (Windows), FNT (Windows), and Web Open Font Format (WOFF). FontForge also imports and exports fonts to and from the Scalable Vector Graphics (SVG) format and the Unified Font Object (UFO) format.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication