# Alien::FreeType Find or build the FreeType font rendering library for Perl distributions. **Version:** 0.01. System discovery, bundled builds, native XS tests, installation relocation, and archive creation have been verified on Linux. Other platforms have not yet been verified. ## Installation Use an existing FreeType installation with `freetype2.pc`, or automatically download and build FreeType 2.15.0 with CMake. The bundled build requires a C compiler and build tools; optional libraries are detected by upstream CMake. cpanm --installdeps . perl Makefile.PL make make test Set `ALIEN_INSTALL_TYPE=system` to require a system installation, or `ALIEN_INSTALL_TYPE=share` to force a source build. Export `PKG_CONFIG_PATH` throughout configuration and build for custom installations. ## Usage use Alien::FreeType; print Alien::FreeType->cflags, "\n"; print Alien::FreeType->libs, "\n"; `version` follows upstream's pkg-config/libtool numbering, not the FreeType release number. Use FT_Library_Version for the native release number. The bundled build uses static PIC libraries and retains upstream optional dependency detection (zlib, libpng, bzip2, Brotli, HarfBuzz, and platform features). Font-format support varies with the detected dependencies. There is no mandatory dependency on other font-related Alien distributions. This is not a Perl font API. FreeType and its dependencies retain their own licenses; the Perl distribution is MIT licensed. FreeType upstream: https://freetype.org/.