aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/lib.rs
diff options
context:
space:
mode:
authorUtsav Oza <utsavoza96@gmail.com>2020-06-07 01:38:04 +0530
committerUtsav Oza <utsavoza96@gmail.com>2020-06-10 22:34:20 +0530
commit34d0c313dccc7e12b4409e10ec1f7ffae63e4528 (patch)
treea1bc30e7810cec87393b4e0485ec0c4d9fad752b /components/style/lib.rs
parentc21fde375184c367f923b9e3776ba3adbe7f53dd (diff)
downloadservo-34d0c313dccc7e12b4409e10ec1f7ffae63e4528.tar.gz
servo-34d0c313dccc7e12b4409e10ec1f7ffae63e4528.zip
Enable textAlign, textBaseline and direction attributes for canvas
Diffstat (limited to 'components/style/lib.rs')
-rw-r--r--components/style/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/style/lib.rs b/components/style/lib.rs
index 52b77a7507e..7ff69ed3c7b 100644
--- a/components/style/lib.rs
+++ b/components/style/lib.rs
@@ -40,6 +40,8 @@ extern crate debug_unreachable;
extern crate derive_more;
extern crate euclid;
extern crate fallible;
+#[cfg(feature = "servo")]
+extern crate font_kit;
extern crate fxhash;
#[cfg(feature = "gecko")]
#[macro_use]