{"id":74108,"library":"directwrite","title":"DirectWrite","description":"A safe abstraction for interacting with DirectWrite, intended for use with Direct2D for text rendering on Windows.","status":"active","version":"0.1.4","language":"rust","source_language":null,"source_url":"https://github.com/Connicpu/directwrite-rs","tags":["windows","directwrite","text-rendering","direct2d"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ndirectwrite = \"0.1.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add directwrite","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Factory","correct":"use directwrite::Factory;"}],"quickstart":{"code":"use directwrite::Factory;\n\nfn main() {\n    let factory = Factory::new().expect(\"Failed to create DirectWrite factory\");\n    println!(\"DirectWrite factory created\");\n}","lang":"rust","description":"Create a DirectWrite factory for text rendering."},"warnings":[{"fix":"Use conditional compilation or platform-specific code.","message":"Requires Windows and DirectX runtime; not available on other platforms.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'abstract':4 'direct2d':13,24 'directwrit':1,8,20 'intend':9 'interact':6 'render':16,23 'safe':3 'text':15,22 'text-rend':21 'use':11 'window':18,19","created_at":"2026-06-17T18:59:11.439000+00:00","updated_at":"2026-06-17T18:59:11.439000+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/Connicpu/directwrite-rs","github":"https://github.com/Connicpu/directwrite-rs","docs":"https://docs.rs/directwrite/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"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}}