Ged rid of libfontconfig in Android. Query available fonts from Android system font configuration files.

This commit is contained in:
Imanol Fernandez 2017-06-02 18:40:08 +02:00
parent fa158a78b6
commit 19fbec9d54
7 changed files with 498 additions and 11 deletions

View file

@ -33,7 +33,7 @@ extern crate bitflags;
extern crate euclid;
extern crate fnv;
#[cfg(any(target_os = "linux", target_os = "android"))]
#[cfg(target_os = "linux")]
extern crate fontconfig;
extern crate fontsan;
#[cfg(any(target_os = "linux", target_os = "android"))]
@ -73,6 +73,8 @@ extern crate unicode_bidi;
extern crate unicode_script;
extern crate webrender_traits;
extern crate xi_unicode;
#[cfg(target_os = "android")]
extern crate xml5ever;
#[deny(unsafe_code)]
pub mod display_list;