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

@ -29,8 +29,14 @@ mod freetype {
pub mod font;
pub mod font_context;
#[cfg(any(target_os = "linux", target_os = "android"))]
#[cfg(target_os = "linux")]
pub mod font_list;
#[cfg(target_os = "android")]
mod android {
pub mod font_list;
}
#[cfg(target_os = "android")]
pub use self::android::font_list;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod font_template;