freetype-py
Freetype python bindings
Decision gist · record as of 2026-08-14
Yes, if you need direct control over font rendering or glyph access. The prebuilt wheels make installation frictionless on mainstream platforms. Dormant maintenance is not a blocker for stable, mature font-binding code, but verify that the version meets your Python and architecture requirements before committing. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- On non-standard architectures or with --no-binary, requires CMake, C/C++ compiler, and system development headers; on Windows, FreeType DLL must be named 'freetype.dll' and placed in PATH or working directory.
- Medium friction: prebuilt wheels cover common platforms (x86_64, aarch64, macOS universal, Windows), but non-standard architectures or --no-binary installs require compiling FreeType from source with CMake and a C/C++ toolchain.
- Maintenance is dormant (last release 715 days ago), though the codebase remains stable and archived status is false.
License · maintenance · safety
permissive license (permissive) — Permissive license treatment allows commercial and private use without restriction, making it suitable for proprietary applications.
last release 2024-08-29 (715 days) · last repo commit 2024-09-02 · 339 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,474,937 downloads/mo, #2,296 on PyPI
Alternatives
Verify before relying
pip install freetype-py
import freetype
face = freetype.Face("Vera.ttf")
face.set_char_size(48 * 64)
face.load_char('S')
bitmap = face.glyph.bitmap
print(bitmap.buffer)- Whether the bundled FreeType binary includes Harfbuzz support by default in wheel distributions.
- Current compatibility with Python versions beyond 3.7 (requires_python states >=3.7, but latest Python support level is not explicitly versioned).
What it is and what it does
freetype-py is a high-level Python wrapper around the FreeType font rendering engine. It lets you load font files (TrueType, OpenType), query glyph metrics and outlines, and rasterize text to bitmaps. The package ships with prebuilt FreeType binaries for common platforms (Windows, macOS, Linux on x86_64 and aarch64), so most installations work out of the box via pip.
For less common architectures or when you need to compile from source, you can build FreeType yourself using the included build script, though this requires a C/C++ toolchain and CMake. The library is stable and production-ready, but development is dormant. It has no runtime dependencies beyond FreeType itself and works with Python 3.7 and later.
Use it for
- Render text to bitmap images for game engines, image processing pipelines, or custom UI rendering without relying on system font rasterizers.
- Extract glyph outlines and metrics from font files for vector graphics, font analysis, or custom text layout implementations.
- Build font inspection tools that read and display TrueType/OpenType font properties, character coverage, and glyph data.
- Create bitmap fonts or pre-rendered text atlases for performance-critical graphics applications.
- Freeze desktop applications with PyInstaller while ensuring FreeType binaries are bundled correctly.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need direct control over font rendering or glyph access.
The prebuilt wheels make installation frictionless on mainstream platforms. Dormant maintenance is not a blocker for stable, mature font-binding code, but verify that the version meets your Python and architecture requirements before committing. No known vulnerabilities.
Install
freetype-py on PyPI
Before you install
Medium friction: prebuilt wheels cover common platforms (x86_64, aarch64, macOS universal, Windows), but non-standard architectures or --no-binary installs require compiling FreeType from source with CMake and a C/C++ toolchain. Maintenance is dormant (last release 715 days ago), though the codebase remains stable and archived status is false.
On non-standard architectures or with --no-binary, requires CMake, C/C++ compiler, and system development headers; on Windows, FreeType DLL must be named 'freetype.dll' and placed in PATH or working directory.
License in practice
Permissive license treatment allows commercial and private use without restriction, making it suitable for proprietary applications.
Quickstart
pip install freetype-py
import freetype
face = freetype.Face("Vera.ttf")
face.set_char_size(48 * 64)
face.load_char('S')
bitmap = face.glyph.bitmap
print(bitmap.buffer)
Verify before relying
- Whether the bundled FreeType binary includes Harfbuzz support by default in wheel distributions.
- Current compatibility with Python versions beyond 3.7 (requires_python states >=3.7, but latest Python support level is not explicitly versioned).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 715 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,474,937 / month, #2,296 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: MacOS XEnvironment :: X11 ApplicationsIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: Python :: 3Topic :: Multimedia :: Graphics |
Evidence: freetype_py-2.5.1-py3-none-macosx_10_9_universal2.whl; freetype_py-2.5.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; freetype_py-2.5.1-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl; freetype_py-2.5.1-py3-none-musllinux_1_1_aarch64.whl; freetype_py-2.5.1-py3-none-musllinux_1_1_x86_64.whl; freetype_py-2.5.1-py3-none-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “freetype python bindings”
- freetype-pyProvides Python bindings to the FreeType font rendering library,…
- PyQt5-sipPyQt5-sip provides the runtime support module for PyQt5 bindings,…
- PyGObjectPyGObject provides Python bindings for GObject-based libraries such…
Give your agent the search over MCP, or paste the wish link into any chat.
More Graphics packages
Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.
Install it if you need to work with images in Python—it is the de facto standard for this task.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.
PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.
The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.
pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.
Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.
Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.
See also uharfbuzz · esphome-glyphsets · glfw · pymupdf-fonts · rendercv-fonts · QtAwesome · pyfiglet · ufo2ft · cffsubr