# mooman219/fontdue

The fastest font renderer in the world, written in pure rust.

Repository: https://github.com/mooman219/fontdue
Canonical: https://ross.abutalabs.com/products/fontdue
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, font, truetype, rasterizer, opentype, ui
Last push: 2026-07-29T08:15:53+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 2589, "days_push": 35, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1705, forks 86 (observed 2026-08-28T04:05:24.745779+00:00)

## What it is
Fontdue is a pure Rust, no_std TrueType and OpenType font rasterizer and layout library focused on minimal end-to-end latency. It is designed as a fast replacement for rusttype, ab_glyph, and glyph_brush_layout, though it does not handle complex text shaping.

## Use cases
- rasterize glyphs from ttf and otf fonts in rust
- render text in a game engine or UI toolkit
- use font rendering in no_std or embedded environments
- compile font rendering to webassembly for browser canvas rendering
- replace rusttype or ab_glyph for faster glyph rasterization
- compute naive text layout metrics for strings

## When to choose
- you need the fastest possible glyph rasterization in Rust
- you target no_std, embedded, or wasm environments
- your text is simple Latin-style layout and doesn't need complex shaping
- you want font structures without lifetime dependencies

## When to avoid
- you need full text shaping for Arabic, Indic, or other complex scripts
- you need a complete text engine with bidi, line breaking, and rich layout (consider Cosmic Text)
- you require allocation-free font parsing

## Facets
- artifact type: library
- maturity: stable
- function: graphics, parser, ui-components
- domain: graphics, cross-platform
- platform: rust, wasm, cross-platform, embedded
- tags: font-rasterizer, truetype, opentype, no-std, text-layout, text-rendering, game-development

## Member repositories
- mooman219/fontdue (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.745779+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:32.484573+00:00, confidence not recorded.
  - readme: https://github.com/mooman219/fontdue (fetched 2026-08-28T04:05:24.745779+00:00, sha be0288d85269)
  - registry_crates: https://crates.io/api/v1/crates/fontdue (fetched 2026-08-29T11:11:41.107631+00:00, sha 4cfae01aa0e7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
