51a7b0c23729d58cd82d364a0ceb0c681d2cabbc
allow creating a CTFont from a CGFont with variations This is functionality necessary to solve https://bugzilla.mozilla.org/show_bug.cgi?id=1435062 We need to be able to pass the variations dictionary to the CTFont, otherwise core-text does not properly handle with the variations on the font. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/193) <!-- Reviewable:end -->
core-foundation-rs
Compatibility
By default it targets macOS 10.7.
To enable features added in macOS 10.8, set Cargo feature mac_os_10_8_features. To have both 10.8 features and 10.7 compatibility, also set mac_os_10_7_support. Setting both requires weak linkage, which is is a nighty-only feature as of Rust 1.19.
Description
Languages
Rust
100%