freetype: A free, high-quality, and portable font engine

Description

From the documentation:

FreeType is a software font engine that is designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images). It can be used in graphics libraries, display servers, font conversion tools, text image generation tools, and many other products as well.

Note that FreeType is a font service and doesn’t provide APIs to perform higher-level features like text layout or graphics processing (e.g., colored text rendering, ‘hollowing’, etc.). However, it greatly simplifies these tasks by providing a simple, easy to use, and uniform interface to access the content of font files.

Please note that ‘FreeType’ is also called ‘FreeType 2’, to distinguish it from the old, deprecated ‘FreeType 1’ library, a predecessor no longer maintained and supported.

The package in Sage is called freetype (in lowercase).

License

  • FreeType (BSD-like)

  • GNU Public License v2

From the documentation:

FreeType is released under two open-source licenses: our own BSD-like FreeType License and the GNU Public License, Version 2. It can thus be used by any kind of projects, be they proprietary or not.

Dependencies

See the dependencies file.

Type

standard

Version Information

package-version.txt:

2.10.4

Equivalent System Packages

conda:

$ conda install freetype-devel harfbuzz glib

cygwin:

$ apt-cyg install freetype-devel harfbuzz glib

Debian/Ubuntu:

$ sudo apt-get install  freetype-devel harfbuzz glib

freebsd:

$ sudo pkg install freetype-devel harfbuzz glib

homebrew:

$ brew install freetype-devel harfbuzz glib

macports: install the following packages: freetype-devel harfbuzz glib nix:

$ nix-env --install freetype-devel harfbuzz glib

opensuse:

$ sudo zypper install freetype-devel harfbuzz glib

slackware:

$ sudo slackpkg install freetype-devel harfbuzz glib

void:

$ sudo xbps-install  freetype-devel harfbuzz glib

See https://repology.org/project/freetype-devel/versions, https://repology.org/project/harfbuzz/versions, https://repology.org/project/glib/versions

If the system package is installed, ./configure will check whether it can be used.