#nlp #collections #text-analysis

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

#180 in Algorithms

Download history 18400/week @ 2023-10-19 12451/week @ 2023-10-26 13051/week @ 2023-11-02 12624/week @ 2023-11-09 14809/week @ 2023-11-16 13591/week @ 2023-11-23 12304/week @ 2023-11-30 11694/week @ 2023-12-07 11915/week @ 2023-12-14 8058/week @ 2023-12-21 9467/week @ 2023-12-28 13616/week @ 2024-01-04 14589/week @ 2024-01-11 14705/week @ 2024-01-18 13874/week @ 2024-01-25 11329/week @ 2024-02-01

56,744 downloads per month
Used in 156 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

~38–490KB