mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
clean up cjk for os
This commit is contained in:
parent
c1e0889971
commit
81ed4ea7be
1 changed files with 0 additions and 13 deletions
|
@ -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(),
|
||||
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue