Text library moved from libcosmic
This commit is contained in:
commit
410d4ee674
37 changed files with 12909 additions and 0 deletions
16
src/font/fallback/other.rs
Normal file
16
src/font/fallback/other.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
use unicode_script::Script;
|
||||
|
||||
// Fallbacks to use after any script specific fallbacks
|
||||
pub fn common_fallback() -> &'static [&'static str] {
|
||||
&[]
|
||||
}
|
||||
|
||||
// Fallbacks to never use
|
||||
pub fn forbidden_fallback() -> &'static [&'static str] {
|
||||
&[]
|
||||
}
|
||||
|
||||
// Fallbacks to use per script
|
||||
pub fn script_fallback(script: &Script, locale: &str) -> &'static [&'static str] {
|
||||
&[]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue