blob: f1cb4492fa600f233c800513f48d75b8a364766e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[package]
name = "font"
version = "0.1.0"
authors = ["Joe Wilm <joe@jwilm.com>"]
description = "Font rendering using the best available solution per platform"
license = "Apache-2.0"
[dependencies]
euclid = "0.12.0"
libc = "0.2"
ffi-util = { path = "../ffi-util" }
log = "0.3"
[target.'cfg(not(target_os = "macos"))'.dependencies]
servo-fontconfig = { git = "https://github.com/jwilm/rust-fontconfig" }
freetype-rs = "0.13.0"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.3.0"
core-graphics = "0.7.0"
core-foundation-sys = "0.3.1"
[target.'cfg(target_os = "macos")'.dependencies.core-text]
git = "https://github.com/servo/core-text-rs"
rev = "7a267bc8f6c098f5370583333a5fd00a0d12fb83"
|