{"id":65256,"library":"dwrote","title":"Dwrote","description":"Lightweight binding to DirectWrite for text rendering on Windows.","status":"active","version":"0.11.5","language":"rust","source_language":null,"source_url":"https://github.com/servo/dwrote-rs","tags":["windows","directwrite","fonts","text"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ndwrote = \"0.11.5\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add dwrote","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"FontCollection","correct":"use dwrote::FontCollection;"}],"quickstart":{"code":"use dwrote::FontCollection;\n\nfn main() {\n    let collection = FontCollection::system();\n    for family in collection.families_iter() {\n        println!(\"Font family: {}\", family.name());\n    }\n}","lang":"rust","description":"Lists all system font families using DirectWrite."},"warnings":[{"fix":"Use only on Windows targets; consider alternative libraries for cross-platform support.","message":"Only works on Windows; requires DirectWrite runtime.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'bind':3 'directwrit':5,12 'dwrote':1 'font':13 'lightweight':2 'render':8 'text':7,14 'window':10,11","created_at":"2026-06-17T17:07:46.159665+00:00","updated_at":"2026-06-17T17:07:46.159665+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/servo/dwrote-rs","github":"https://github.com/servo/dwrote-rs","docs":"https://docs.rs/dwrote/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}