FreeType

FreeType is a freely available software library to render fonts.

It is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats.

Some products that use FreeType for rendering fonts on screen or on paper, either exclusively or partially:

  • GNU/Linux and other free Unix operating system derivates like FreeBSD or NetBSD;
  • Platforms for smart devices, including Android, Tizen, and Roku;
  • iOS, Apple's mobile operating system for iPhones and iPads;
  • ChromeOS, Google's operating system for laptop computers;
  • ReactOS, a free open source operating system based on the best design principles found in the Windows NT architecture;
  • Ghostscript, a PostScript interpreter used in many printers;
  • Web browser engines such as Chromium, WebKit, Gecko, and Goanna.

Counting the above products only, you get more than a billion devices that contain FreeType.

News & Updates

FreeType 2.13.2

2023-08-25

This is a maintenance release with only minor changes.

Details can be found in the release notes.

FreeType 2.13.1

2023-06-24

This is a maintenance release with only minor changes, for example, a new load flag FT_LOAD_NO_SVG to ignore glyphs in an SVG SFNT table, or a new function FT_Get_Default_Named_Instance to get the index of the default named instance of an OpenType Variation Font.

Please check release notes for more details.

FreeType 2.13.0

2023-02-09

This new release brings you a completely updated and enhanced ftinspect demo program, which now combines the functionality of almost all other graphical FreeType demo programs into a single application based on the Qt framework.

ftinspect demo program

Another two noteworthy features are related to OpenType fonts: The ‘COLR’ v1 API is now considered as stable, and the ‘avar’ v2 extension is supported.

Other news and changes can be found in the release notes.

FreeType 2.12.1

2022-05-01

This is a maintenance release. All users should upgrade. A list of the most important changes and fixes can be found here.

FreeType 2.12.0

2022-03-31

The main new feature of this release is support for OpenType fonts with an ‘SVG’ table, using an external SVG rendering library. Other changes, fixes, and improvements are documented here.

FreeType 2.11.1

2021-12-02

This is a maintenance release with no significant changes. For more details on the various fixes and changes please see here.

FreeType 2.11.0

2021-07-19

Our new release brings an additional rendering module to create Signed Distance Fields (SDF) for glyphs; it also introduces an experimental interface to access ‘COLR’ v1 fonts.

As usual, there are many more fixes and features; please see here for more.

FreeType moved to freedesktop.org

2021-01-16

We are now using the infrastructure of the gitlab instance of freedesktop.org. All bug issues have been imported (kudos to Anurag Thakur for doing this tedious job!), together with the git repositories, which have been renamed to freetype and freetype-demos (this is, we are dropping the ‘2’ in the repository names).

The git repositories at Savannah will stay as mirrors.

FreeType 2.10.4

2020-10-20

This is an emergency release, fixing a severe vulnerability in embedded PNG bitmap handling (see here for more).

All users should update immediately.

FreeType 2.10.3

2020-10-10

This is a maintenance release, having better support for TrueType glyphs with overlapping contours. See the list of changes for more details.

A warning for distribution maintainers: Version 2.10.3 and later may break the build of ghostscript, due to ghostscript's use of a withdrawn macro that wasn't intended for external usage. A fix is available here.

FreeType 2.10.2

2020-05-09

Besides various maintenance fixes, this release comes with support of WOFF 2 fonts. More details are listed in the list of changes.

FreeType 2.10.1

2019-07-01

A new maintenance release, fixing bytecode hinting of OpenType variation fonts and cmap processing of PCF fonts, among other things. Check the list of changes for more fixes.

FreeType 2.10.0

2019-03-15

This release brings one notable feature, namely support for color-layered outline glyphs (for example, scalable emoji glyphs). Additionally, the API reference has been completely overhauled and modernized, as already announced.

As usual, many minor fixes and corrections have been applied also; a detailed list is given here.

Website Makeover

2018-08-25

A revamped version of the FreeType website is available for preview here. It includes a complete interface redesign, and uses markdown as input which greatly improves maintainability. Comments are welcome.

FreeType 2.9.1

2018-05-02

This is a maintenance release; most importantly fixing correct handling of Type 1 fonts with flex features, which was broken in version 2.9. An overview of the remaining changes is given here. All users should upgrade.

FreeType 2.9

2018-01-08

FreeType version 2.9, the first release of a new ‘minor’ series, is now available for download. The main reason for starting a new series is Ewald Hew's GSoC contribution of making Adobe's CFF engine handle Type 1 fonts also, greatly improving the rendering quality of this ancient but still important font format.

If you are going to use variation fonts, please update to this version since it comes with some important fixes. More information on this and other changes can be found here.

FreeType 2.8.1

2017-09-16

FreeType 2.8.1 has been released. This is mainly a maintenance release with one important change: By default, FreeType now offers high quality LCD-optimized output without resorting to ClearType techniques of resolution tripling and filtering. In this method, called Harmony, each color channel is generated separately after shifting the glyph outline, capitalizing on the fact that the color grids on LCD panels are shifted by a third of a pixel. This output is indistinguishable from ClearType with a light 3-tap filter.

See here for a extensive list of changes; noteworthy bug fixes are correct handling of B/W TrueType hinting and some OpenType variation font handling issues.

FreeType 2.8

2017-05-13

FreeType 2.8 has been released. CFF2 support and OpenType variation font handling is now complete; the auto-hinter now understands 25 more scripts, for example N'Ko and Tifinagh.

See here for a list of changes; noteworthy bug fixes are the handling of TrueType fonts: unhinted loading didn't work as expected, and the light auto-hinter used incorrect metrics.

GSoC

2017-02-28

The FreeType project was accepted to be part of Google Summer of Code 2017! Here's a link to our ideas list – if you have another one, please write to our mailing list so that we can discuss your suggestions, eventually adding them to the list. And if you want to participate as a student, now is the time to discuss everything, again using the mailing list.

FreeType 2.7.1

2016-12-30

FreeType 2.7.1 has been released. The most important news is preliminary support of Adobe's new CFF2 font format and variation fonts as specified in the new OpenType specification version 1.8. It also fixes the handling of raw CID fonts (which might be found in PDF files)

See here for a list of changes.

FreeType 2.7

2016-09-08

We start a new ‘minor’ series, which finally allows us to activate a new default mode for bytecode hinting (see also the announcements below for version 2.6.4 and 2.6.5): Subpixel hinting, also known as ClearType hinting.

In case you are already using subpixel hinting (for example, by using the ‘Infinality patches’ as provided by some GNU/Linux or BSD distributions, or directly from bohoomil.com), be noted that the new mode might provide subtle differences; the code was simplified to make it much faster. If you are used to the old full-pixel hinting, you will see many rendering changes. If you really dislike them, you can disable them at compile time or using the new FREETYPE_PROPERTIES environment variable.

A description of the remaining changes can be found here, as usual.

FreeType 2.6.5

2016-07-12

This release is almost identical to the previous version, with two differences.

  • It compiles again on Mac OS X, and
  • it reverts the activation of subpixel hinting by default; it will be enabled by default in the forthcoming 2.7.x series. Main reason for reverting this feature is the principle of least surprise: a sudden change in appearance of all fonts (even if the rendering improves for almost all recent fonts) should not be expected in a new micro version of a series.

FreeType 2.6.4

2016-07-05

FreeType 2.6.4 has been released. The most important change is a new bytecode hinting mode for TrueType fonts that finally activates subpixel hinting (a.k.a. ClearType hinting) by default.

The new release also brings support for the following new scripts in the auto-hinter: Armenian, Cherokee, Ethiopic, Georgian, Gujarati, Gurmukhi, Malayalam, Sinhala, and Tamil.

See here for a detailed list of changes.

FreeType 2.6.3

2016-02-09

FreeType 2.6.3 has been released. It brings support for four new Asian scripts in the auto-hinter (Khmer, Myanmar, Kannada, and Bengali), together with other, minor improvements and bug fixes.

See here for a detailed list of changes.

More on the 2.6.2 release for users and developers

2015-11-30

FreeType 2.6.2 ships with three interesting details for users and developers of rendering libraries that deal with text. Read more.

FreeType 2.6.2

2015-11-28

FreeType 2.6.2 has been released. This is a minor release that mainly provides better handling of malformed fonts. All users should upgrade.

A new feature is stem darkening support for the auto-hinter. Note, however, that it is off by default, since most graphic systems don't provide correct linear alpha blending with gamma correction, which is crucial for a good appearance. For the same reason, stem darkening for the CFF engine is now off by default, too.

See here for a more detailed list of changes.

FreeType 2.6.1

2015-10-04

FreeType 2.6.1 has been released. This is a minor release that corrects problems with CFF metrics, and that provides better handling of malformed fonts. Two notably new features are auto-hinting support for the Lao script and a simple interface for accessing named instances in GX TrueType variation fonts.

See here for a list of changes.

FreeType 2.6

2015-06-08

FreeType 2.6 has been released. This is a new major release that provides a better (and simpler) thread-safety model. Among other new features we now have auto-hinting support for Arabic and Thai, together with much improved handling of Apple's GX TrueType variation font format.

See here for a list of changes.

Roadmap

Besides user support and fixing bugs, your money will help me implement the following issues.

  • Setting up a test framework for FreeType. This is a huge, long-term undertaking that will ensure both stability and reliability of the library. The idea is to collect test cases (mainly broken fonts) that cover as much source code as possible. Another idea to investigate is the development of scripts that can generate both valid and invalid input data to systematically increase the coverage of executed library code, including the unlikely cases. Finally, images of valid, well-rendered input fonts could be collected: As soon as a change to the rendering image gets applied, a comparison run with those images should detect rendering regressions.
  • Further improvements to the auto-hinter. Right now, the module for Indic support is a dummy, and support for the family of Arabic scripts is completely missing. [FreeType 2.9 comes with auto-hinting support for almost all scripts where hinting makes sense.] Both investigation and research is necessary to find out how much auto-hinting is possible and useful, and whether other, completely different scripts can be supported at all.
  • Right now, rendering Type 1 and CID-keyed fonts is the weakest part of FreeType. However, we now have a brand-new module for handling CFF. Given that CFF is very similar to Type 1, it should be not too difficult to use and/or extend the CFF code so that Type 1 fonts can be handled, too. [This was a GSoC project in 2017, and the resulting code has been merged into FreeType 2.9.]
  • Explore whether it makes sense to merge FreeType with (parts of) the HarfBuzz library. Since version 2.5.3, FreeType already links to HarfBuzz to use its abilities for scanning OpenType layout features, and more integration might be sensible for both libraries.
  • More improvements to this website. Last year I’ve redesigned the FreeType website. However, a large bunch of documents are still using the old design, and some of them are also no longer up to date. [As with version 2.6.0, the FreeType Tutorial has been updated.]

FreeType 2.5.3

2014-03-08

FreeType 2.5.3 has been released. All users should upgrade due to fixed vulnerability in the CFF driver (CVE-2014-2240).

Its main new feature is much enhanced support of auto-hinting SFNT fonts (i.e., TrueType and CFF fonts) due to the use of the HarfBuzz library. A more detailed description of this and other changes can be found here.

FreeType 2.5.2

2013-12-08

FreeType 2.5.2 has been released. It fixes a serious bug introduced in version 2.5.1; all users should upgrade.

A listing of the changes can be found here.

FreeType 2.5.1

2013-11-25

FreeType 2.5.1 has been released, providing three major new features.

  • Support for the WOFF font format, contributed by Behdad Esfahbod.
  • The auto-hinter now supports Hebrew, together with improved support for Cyrillic and Greek.
  • The directory layout of the (installed) FreeType header files has been simplified.

Among other changes I want to mention that FreeType's TrueType debugger (ttdebug) has been made more versatile. An exhaustive list of changes can be found here.

Pledgie Campaign Was Successful!

2013-06-25

Thanks to a very generous donation by Pierre Arnaud from Epsitec, the pledgie campaign for FreeType has reached its goal. I want to say thank you again to all donors! Of course, noone stops you from further donating to the campaign :-)

After integration of Adobe's CFF module and Google's color emoji support, I will use the next months to work on the remaining issues that I've promised to implement. Stay tuned!

FreeType 2.5

2013-06-19

FreeType 2.5 has been released. A major new feature is support for color embedded bitmaps (eg. color emoji), contributed by Behdad Esfahbod on behalf of Google. Additionally, Adobe's CFF engine is now the default, which makes a good reason to change from the 2.4.x to the 2.5.x series.

On the technical side, the property API to access FreeType module parameters (FT_Property_Set and FT_Property_Get) is now declared as stable.

As usual, see this file for the complete release notes, which give more details. And we have again blog entries from Adobe and Google.

[Please download the 2.5.0.1 bundle of the FreeType library, which fixes a packaging error.]

This page is maintained by Werner Lemberg. The FreeType logo has been designed by Manuel Colom.