Skip to content

Commit

Permalink
clean up cjk for os
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos committed Oct 17, 2017
1 parent c1e0889 commit 81ed4ea
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions components/gfx/platform/freetype/font_list.rs
Expand Up @@ -132,7 +132,6 @@ pub fn system_default_family(generic_name: &str) -> Option<String> {
}
}

#[cfg(target_os = "linux")]
pub fn last_resort_font_families() -> Vec<String> {
vec!(
"Fira Sans".to_owned(),
Expand All @@ -141,16 +140,4 @@ pub fn last_resort_font_families() -> Vec<String> {
)
}

#[cfg(target_os = "windows")]
pub fn last_resort_font_families() -> Vec<String> {
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";

0 comments on commit 81ed4ea

Please sign in to comment.