Text library moved from libcosmic

This commit is contained in:
Jeremy Soller 2022-10-18 12:07:22 -06:00
commit 410d4ee674
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
37 changed files with 12909 additions and 0 deletions

View 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] {
&[]
}