Font Tools

fontTools – font manipulation library

fontTools is a collection of libraries and command-line utilities for inspecting, manipulating and generating font files. It provides access to the internal structures of TrueType and OpenType fonts, making it useful for font developers, type designers and programmers building font processing tools.

The project includes TTX, which converts binary font data into an editable XML representation and compiles the modified data back into a font file. This gives developers direct access to font tables that conventional graphical editors may not expose.

fontTools extends well beyond XML conversion. Its modules support font subsetting, merging, outline conversion, OpenType feature compilation and variable font generation. Developers can use these facilities through command-line utilities or incorporate them directly into their own applications.

The library is widely used as a foundation for other font engineering tools, providing reusable components for working with glyph outlines, font metadata, shaping information and variation data.

This is free and open source software.

Key Features

  • Read, inspect and manipulate TrueType and OpenType font files.
  • Convert binary fonts to and from TTX XML format.
  • Inspect, edit and rebuild individual font tables.
  • Limit TTX operations to selected tables or exclude unwanted tables.
  • Split font tables into separate XML files.
  • Merge partial TTX files with existing fonts.
  • Subset fonts using selected glyphs, characters or Unicode ranges.
  • Merge multiple fonts into a single font.
  • Compile OpenType layout features from feature files.
  • Generate variable fonts from masters and designspace definitions.
  • Instantiate variable fonts at selected axis locations.
  • Convert cubic outlines to quadratic curves using cu2qu.
  • Manipulate CFF and CFF2 outlines.
  • Process colour font tables including COLR and CPAL.
  • Support font variation tables including fvar, gvar, avar and STAT.
  • Provide utilities for converting Microsoft VOLT data into feature files.
  • Offer reusable APIs for font processing applications and scripts.

Website: github.com/fonttools/fonttools
Support:
Developer: Many contributors
License: MIT License

fontTools is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Font Editors
FontForgeCreate and modify postscript, truetype and opentype fonts
fontToolsLibrary to manipulate font files from Python
BirdfontVala based font editor
Glyphr StudioAimed at typeface design beginners and hobbyists
FontraBrowser-based font editor
ftcliCommand line interface built with click to edit fonts using fontTools
YgtGraphical TypeType hinting program
SliceCreate custom font design spaces
TruFontStreamlined and hackable font editor
monobitCollection of tools for working with bitmap fonts
Modular Font Editor KGlyph editor for the Modular Font Editor K project
bitedBitmap font editor for monochrome Unicode BDF fonts

Read our verdict in the software roundup.

Font Renderers
HarfBuzzOpenType text shaping engine
FreeTypeSmall and efficient software font engine
PangoInternational text layout and rendering with rich script support
LibICULibraries for Unicode and internationalization
FontconfigLibrary for configuring and customizing font access
COSMIC TextRust library for rich multi-line text layout, shaping and editing
FriBidiImplementation of the Unicode Bidirectional Algorithm
SwashPure Rust toolkit for glyph shaping, scaling and rendering
SheenBidiCompact Unicode bidirectional algorithm implementation for text engines
RaqmBidirectional layout and shaping for complex writing systems

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted