#servo #bindings #helper #attempt #dont #direct-write #dwrote

servo-dwrote

Lightweight binding to DirectWrite

1 unstable release

Uses old Rust 2015

0.2.0 Feb 18, 2017

#31 in #servo

MPL-2.0 license

62KB
1.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

~0.6–1MB
~21K SLoC