Implement fallback priorities and han unification on Unix
This commit is contained in:
parent
63680b5696
commit
7e08a63796
13 changed files with 290 additions and 51 deletions
11
examples/text/src/font/fallback/macos.rs
Normal file
11
examples/text/src/font/fallback/macos.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use unicode_script::Script;
|
||||
|
||||
// Fallbacks to use after any script specific fallbacks
|
||||
pub fn common_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