mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
DirectWrite font backend for Windows
This commit is contained in:
parent
d16f312464
commit
db357b0334
9 changed files with 572 additions and 179 deletions
|
@ -29,8 +29,7 @@ extern crate bitflags;
|
|||
#[cfg(target_os = "macos")] extern crate core_text;
|
||||
|
||||
// Windows-specific library dependencies
|
||||
#[cfg(target_os = "windows")] extern crate gdi32;
|
||||
#[cfg(target_os = "windows")] extern crate winapi;
|
||||
#[cfg(target_os = "windows")] extern crate dwrote;
|
||||
|
||||
extern crate euclid;
|
||||
extern crate fnv;
|
||||
|
@ -38,10 +37,11 @@ extern crate fnv;
|
|||
// Platforms that use Freetype/Fontconfig library dependencies
|
||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
extern crate fontconfig;
|
||||
extern crate fontsan;
|
||||
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
|
||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
extern crate freetype;
|
||||
|
||||
extern crate fontsan;
|
||||
|
||||
extern crate gfx_traits;
|
||||
|
||||
// Eventually we would like the shaper to be pluggable, as many operating systems have their own
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue