FreeType

FreeType
Developer(s) David Turner, Robert Wilhelm, Werner Lemberg[1][2] and FreeType contributors
Initial release 1996 (1996)[3]
Stable release
2.7 / September 8, 2016 (2016-09-08)[4]
Repository git.savannah.gnu.org/cgit/freetype/
Written in C
Operating system Cross-platform
Type Software development library: Font rasterization
License GNU General Public License / FreeType License
Website www.freetype.org
Lower case e subpixel rendered with FreeType

FreeType is a popular software development library used to render text onto bitmaps, and provides support for other font-related operations. The FreeType font rasterization engine is free and open source software with the source code dual-licensed under a BSD-like license and the GPL. FreeType supports a number of font formats, including TrueType, Type 1, and OpenType[5] and "is designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images)."[5]

Features

Hinting

TrueType
TrueType bytecode interpreter is enabled by default in 2.4.0.[6] TrueType subpixel hinting support is implemented in 2.4.11.[7] The subpixel hinting mode in version 40 of the bytecode engine was added in 2.6.4.[8][9]
PostScript
New CFF parsing and hinting engine by Dave Arnold was introduced in 2.4.12.[10] 2.5.0.1 enables this by default.
Auto-hinter
auto-hinter was replaced by auto-fitter in FreeType 2.1.10.[11] A new algorithm for CJK fonts was introduced in FreeType 2.2, based on Akito Hirai's patch.[12] Auto-hinting was added to Armenian, Cherokee, Ethiopic, Georgian, Gujarati, Gurmukhi, Malayalam, Sinhala, Tamil scripts in 2.6.4.[8]

File formats

Adobe's new SING Glyphlet format was introduced in FreeType 2.2.[12] Bit 1 in the "head" table of TrueType fonts is supported in FreeType 2.2.[12] Support for SFNT cmap 13 table format is added in 2.3.10.[13] Support for OpenType collections and CFF fonts within an SFNT wrapper are added in 2.4.11.[7]

PostScript
Track kerning support for AFM file is added in FreeType 2.2.[12]

History

FreeType was created in 1996 by David Turner to render TrueType fonts, including an interpreter for handling TrueType bytecode. Originally written in the Pascal programming language it was ported in 1997 by Robert Wilhelm to C. Later, Werner Lemberg joined the team who is until today maintainer of Freetype.[3][14][15]

FreeType 1 had support for only the TrueType font format but it included an extension to support OpenType text layout features.

Major rewrite 2.0

Version 2.0 of FreeType was released in 2000, providing a complete rewrite to make it modular. FreeType 2 brought support for more font formats and evolved source code which the developers stated was "simpler and more powerful".[16] FreeType 2 is not backward-compatible with FreeType 1 but the developers state that moving from FreeType 1 to FreeType 2 poses little difficulty.[16] As text layout processing was not an objective of FreeType 2, however, the OpenType text layout functionality of FreeType 1 was removed in FreeType 2. A very evolved form of the OpenType text layout functionality of FreeType 1 is used in the Pango text layout library. The HarfBuzz project is further evolving that functionality with a complete rewrite offered as a standalone library with a less restrictive license than Pango's license.[17]

Patent conflicts

In 1999 the Freetype project was informed by Apple Incorporated that FreeType was infringing patents related to TrueType font hinting. Following that, Freetype deactivated by default or worked around patent relating technologies. Therefore, several open source projects, such as FreeBSD or Linux, had FreeType included with font hinting functionality disabled or degraded to avoid the issue of software patents held by Apple Inc.[18]

Since May 2010, all conflicting software patents related to font hinting expired,[18] allowing FreeType's TrueType font hinter to be used in open source. Many of the operating systems which disabled the renderer now give the user the option to enable it. In Fedora, freetype-freeworld was switched from the proprietary yum repository to the free repository.[19]

CFF engine donation

In 2013 Adobe donated a CFF rendering engine to the FreeType project which integrated it and made it default with version 2.5.[20][21]

Users

Android
FreeType is used as font renderer in Android.[22]
Apple
Apple uses FreeType in iOS[22] and OS X[23] next to Apple Advanced Typography.
Java
In 2007, Sun Microsystems switched from using a proprietary font rasterizer to using FreeType in the OpenJDK Java development kit.[24]
PlayStation
Sony ships FreeType with its PlayStation 3,[25] PlayStation 4,[26] and PlayStation Vita[27] consoles.
ReactOS
FreeType is used as ReactOS font renderer.[28]

Other users

As well as being used by the major free software desktop systems, FreeType has been used as a rasterization engine for modern video games,[29][30] and Opera for the Wii.[31]

On Windows, projects like gdipp[32] and MacType[33] aim to override the system renderer with FreeType.

See also

References

  1. "Interview with David Turner of Freetype". OSNews. June 28, 2007. Retrieved March 31, 2011.
  2. "The FreeType Project LICENSE" (text). FreeType. January 27, 2006. Retrieved March 31, 2011.
  3. 1 2 "FreeType History". 2013-07-02. Retrieved 2014-08-06.
  4. "FreeType 2.7". 2016-09-08. Retrieved 2016-09-08.
  5. 1 2 "FreeType 2 Overview". FreeType 2. SourceForge, Inc. July 4, 2010. Features. Retrieved March 31, 2011.
  6. "CHANGES BETWEEN 2.3.12 and 2.4.0". Sourceforge.net. 2010-07-12. Retrieved 2014-04-04.
  7. 1 2 "CHANGES BETWEEN 2.4.10 and 2.4.11". Sourceforge.net. 2012-12-20. Retrieved 2014-04-04.
  8. 1 2 "CHANGES BETWEEN 2.6.3 and 2.6.4".
  9. "Re: [ft-devel] A small post about the v40 interpreter".
  10. "CHANGES BETWEEN 2.4.11 and 2.4.12". Sourceforge.net. 2013-05-08. Retrieved 2014-04-04.
  11. "Announcing FreeType 2.1.10". Lists.nongnu.org. 2005-06-15. Retrieved 2014-04-04.
  12. 1 2 3 4 "FreeType version 2.2.1 released". Lists.nongnu.org. Retrieved 2014-04-04.
  13. "CHANGES BETWEEN 2.3.10 and 2.3.9". Sourceforge.net. Retrieved 2014-04-04.
  14. ft2faq
  15. "What are the differences between FreeType 1.x and FreeType 2 ?". Experts123.com. Retrieved 2014-04-04.
  16. 1 2 "FreeType 2 FAQ". FreeType 2. Retrieved July 26, 2011.
  17. "HarfBuzz". Freedesktop.org. Retrieved 2014-04-04.
  18. 1 2 "FreeType and Patents". FreeType. SourceForge, Inc. July 4, 2010. Retrieved March 31, 2011.
  19. "RepoView: RPM Fusion (Fedora - free) development Source RPM Packages". Download1.rpmfusion.org. 2014-03-11. Retrieved 2014-04-04.
  20. adobe-contributes-cff-rasterizer-to-freetype
  21. youve-got-cff
  22. 1 2 "Got CFF?". Google Open Source Blog. Retrieved 2014-04-04.
  23. "About the security content of OS X Lion v10.7.3 and Security Update 2012-001". Support.apple.com. 2012-05-31. Retrieved 2014-04-04.
  24. "Font Scaler". Retrieved 4 April 2014.
  25. "PlayStation®3 License". Scei.co.jp. Retrieved 2014-04-04.
  26. "Open Source Software used in PlayStation®4". Scei.co.jp. Retrieved 2014-04-04.
  27. "Open Source Software used in PlayStation®Vita". Scei.co.jp. Retrieved 2014-04-04.
  28. Royal, Simon (2014-02-26). "ReactOS: A Windows Compatible Alternative OS". lowendmac.com. Retrieved 2016-01-10. While the main core of ReactOS is built from scratch, it has some dependencies on existing software and protocols. It uses parts of Wine, networking in the form of lwIP, USB from Haiku, as well as FreeType, Mesa3D, and UniATA.
  29. Games company Relic Entertainment has used FreeType for their games Dawn of War and Company of Heroes, as can be seen in the credits on the loading screens.
  30. FreeType has also been implemented in the American Girl games for the PC such as A Treehouse of My Own and Julie Saves The Eagles.
  31. Opera 9 for the Wii console uses FreeType, as can be seen by looking at the "Third-party information" page which can be found on the Wii via: Internet Channel > Operations Guide > About > Opera 9 for Wii — Third-party information
  32. "gdipp". Retrieved 4 August 2014.
  33. "MacType". Retrieved 2016-09-12.

External links

Wikimedia Commons has media related to FreeType.
This article is issued from Wikipedia - version of the 12/4/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.