dwrote

Lightweight binding to DirectWrite

27 releases

0.11.3 Mar 26, 2025
0.11.2 Oct 9, 2024
0.11.1 Aug 30, 2024
0.11.0 Mar 25, 2020
0.1.3 Nov 21, 2016

#44 in Algorithms

Download history 22860/week @ 2025-02-02 101948/week @ 2025-02-09 94896/week @ 2025-02-16 116816/week @ 2025-02-23 124151/week @ 2025-03-02 118045/week @ 2025-03-09 93969/week @ 2025-03-16 90917/week @ 2025-03-23 87580/week @ 2025-03-30 73713/week @ 2025-04-06 63231/week @ 2025-04-13 62769/week @ 2025-04-20 74710/week @ 2025-04-27 69688/week @ 2025-05-04 64617/week @ 2025-05-11 58624/week @ 2025-05-18

271,804 downloads per month
Used in 219 crates (12 directly)

MPL-2.0 license

110KB
2.5K SLoC

dwrote

A thin wrapper around Windows DirectWrite for Rust

Dwrote provides access to pieces of DirectWrite needed by WebRender and Servo. It can be easily extended to other parts of DirectWrite, but full mapping of the DirectWrite API is not a goal (pull requests accepted, of course).

There are a few additional helper functions on individual types that don't exist in DirectWrite, and a few have had their signatures changed, but for the most part this library attempts to replicate the DirectWrite API.

Dependencies

~33–455KB