Registry / other / freetype-sys

freetype-sys

JSON →
library0.23.0rscratesunverified

Low-level FFI bindings to the FreeType font rendering library.

# Cargo.toml [dependencies] freetype-sys = "0.23.0"
INSTALL
IMPORT
SIG · FREETYPE-SYS
F
freetype-sys
otherrustv0.23.0
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.

FT_Library
✓ use freetype_sys::FT_Library;

Initializes the FreeType library using raw FFI calls.

use freetype_sys::{FT_Init_FreeType, FT_Library}; fn main() { let mut library: FT_Library = std::ptr::null_mut(); unsafe { FT_Init_FreeType(&mut library); println!("FreeType initialized"); } }
Debug
Known issues
gotchaRequires FreeType system library to be installed
fix
Install libfreetype-dev or equivalent package
affects: >=0.23.0
Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
freetype-sys — cargo add freetype-sys · libregistry