mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Ged rid of libfontconfig in Android. Query available fonts from Android system font configuration files.
This commit is contained in:
parent
fa158a78b6
commit
19fbec9d54
7 changed files with 498 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue