Registry / utility / dwrote

dwrote

JSON →
library0.11.5rscratesunverified

Lightweight binding to DirectWrite for text rendering on Windows.

# Cargo.toml [dependencies] dwrote = "0.11.5"
INSTALL
IMPORT
SIG · DWROTE
D
dwrote
utilityrustv0.11.5
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.

FontCollection
use dwrote::FontCollection;

Lists all system font families using DirectWrite.

use dwrote::FontCollection; fn main() { let collection = FontCollection::system(); for family in collection.families_iter() { println!("Font family: {}", family.name()); } }
Debug
Known issues
gotchaOnly works on Windows; requires DirectWrite runtime.
fix
Use only on Windows targets; consider alternative libraries for cross-platform support.
affects: >=0.1.0
Upgrade
Version history
0.11.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
dwrote — cargo add dwrote · libregistry