diff --git a/servo/components/gfx/platform/freetype/font_list.rs b/servo/components/gfx/platform/freetype/font_list.rs index 8f2898ae6801..c4f0cfe4fece 100644 --- a/servo/components/gfx/platform/freetype/font_list.rs +++ b/servo/components/gfx/platform/freetype/font_list.rs @@ -132,7 +132,6 @@ pub fn system_default_family(generic_name: &str) -> Option { } } -#[cfg(target_os = "linux")] pub fn last_resort_font_families() -> Vec { vec!( "Fira Sans".to_owned(), @@ -141,16 +140,4 @@ pub fn last_resort_font_families() -> Vec { ) } -#[cfg(target_os = "windows")] -pub fn last_resort_font_families() -> Vec { - vec!( - "Arial".to_owned() - ) -} - -#[cfg(target_os = "linux")] pub static SANS_SERIF_FONT_FAMILY: &'static str = "DejaVu Sans"; - -#[cfg(target_os = "windows")] -pub static SANS_SERIF_FONT_FAMILY: &'static str = "Arial"; -