#wrapper #binding #servo #web-render #helper #type #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

#90 in Data formats

Download history 12806/week @ 2023-11-20 13790/week @ 2023-11-27 10310/week @ 2023-12-04 12605/week @ 2023-12-11 10855/week @ 2023-12-18 6428/week @ 2023-12-25 11380/week @ 2024-01-01 14612/week @ 2024-01-08 13895/week @ 2024-01-15 14224/week @ 2024-01-22 12867/week @ 2024-01-29 13797/week @ 2024-02-05 12719/week @ 2024-02-12 13515/week @ 2024-02-19 13149/week @ 2024-02-26 11349/week @ 2024-03-04

51,701 downloads per month
Used in 158 crates (9 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–490KB