MCPcopy Index your code
hub / github.com/alacritty/crossfont

github.com/alacritty/crossfont @v0.9.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.9.0 ↗ · + Follow
168 symbols 305 edges 11 files 34 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

crossfont

crossfont is a cross-platform Rust library for loading fonts and rasterizing glyphs, using native font engines whenever possible.

Supported Backends

Platform Backends
Linux Freetype
BSD Freetype
Windows DirectWrite
macOS Core Text

Known Issues

Since crossfont was originally made solely for rendering monospace fonts in Alacritty, there currently is only very limited support for proportional fonts.

Loading a lot of different fonts might also lead to resource leakage since they are not explicitly dropped from the cache.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 109
Class 28
Function 16
Enum 13
Interface 2

Languages

Rust100%

Modules by API surface

src/ft/fc/pattern.rs39 symbols
src/ft/mod.rs31 symbols
src/lib.rs22 symbols
src/darwin/mod.rs22 symbols
src/ft/fc/mod.rs16 symbols
src/directwrite/mod.rs16 symbols
src/ft/fc/char_set.rs8 symbols
src/ft/fc/object_set.rs6 symbols
src/ft/fc/font_set.rs4 symbols
src/ft/fc/config.rs2 symbols
src/darwin/byte_order.rs2 symbols

For agents

$ claude mcp add crossfont \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page