Registry / utility / font-kit

font-kit

JSON →
library0.14.3rscratesunverified

A cross-platform font loading library for Rust.

# Cargo.toml [dependencies] font-kit = "0.14.3"
INSTALL
IMPORT
SIG · FONT-KIT
F
font-kit
utilityrustv0.14.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Font
use font_kit::Font;

Loads a font from a file path.

use font_kit::Font; fn main() { let font = Font::from_path("/path/to/font.ttf", 0).unwrap(); println!("Font loaded: {:?}", font); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.14.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
font-kit — cargo add font-kit · libregistry