Add some windows common fallbacks
This commit is contained in:
parent
8c3b37474f
commit
51e3ef6627
1 changed files with 9 additions and 1 deletions
|
|
@ -2,10 +2,18 @@ use unicode_script::Script;
|
|||
|
||||
// Fallbacks to use after any script specific fallbacks
|
||||
pub fn common_fallback() -> &'static [&'static str] {
|
||||
&[]
|
||||
//TODO: abstract style (sans/serif/monospaced)
|
||||
&[
|
||||
"Segoe UI",
|
||||
"FreeSans",
|
||||
"Segoe UI Symbol",
|
||||
"Segoe UI Emoji",
|
||||
//TODO: Add CJK script here for doublewides?
|
||||
]
|
||||
}
|
||||
|
||||
// Fallbacks to use per script
|
||||
pub fn script_fallback(script: &Script, locale: &str) -> &'static [&'static str] {
|
||||
//TODO: per-script fallbacks
|
||||
&[]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue