#wrapper #binding #webrender #servo #helper #windows #direct-write

dwrote

Lightweight binding to DirectWrite

24 releases

0.11.0 Mar 25, 2020
0.9.0 Apr 18, 2019
0.8.0 Jan 16, 2019
0.6.3 Dec 13, 2018
0.1.3 Nov 21, 2016

#637 in Text processing

Download history 14003/week @ 2024-01-06 14054/week @ 2024-01-13 14144/week @ 2024-01-20 13048/week @ 2024-01-27 13701/week @ 2024-02-03 12627/week @ 2024-02-10 13709/week @ 2024-02-17 13119/week @ 2024-02-24 11400/week @ 2024-03-02 14684/week @ 2024-03-09 17169/week @ 2024-03-16 13682/week @ 2024-03-23 12761/week @ 2024-03-30 11675/week @ 2024-04-06 15809/week @ 2024-04-13 12361/week @ 2024-04-20

54,461 downloads per month
Used in 179 crates (10 directly)

MPL-2.0 license

100KB
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

~37–485KB