Use FreeMono as Braille script fallback, workaround for #237
This commit is contained in:
parent
485497973f
commit
1f97cbd747
1 changed files with 4 additions and 0 deletions
|
|
@ -53,6 +53,10 @@ pub fn script_fallback(script: Script, locale: &str) -> &'static [&'static str]
|
|||
Script::Armenian => &["Noto Sans Armenian"],
|
||||
Script::Bengali => &["Noto Sans Bengali"],
|
||||
Script::Bopomofo => han_unification(locale),
|
||||
//TODO: DejaVu Sans would typically be selected for braille characters,
|
||||
// but this breaks alignment when used alongside monospaced text.
|
||||
// By requesting the use of FreeMono first, this issue can be avoided.
|
||||
Script::Braille => &["FreeMono"],
|
||||
Script::Buhid => &["Noto Sans Buhid"],
|
||||
Script::Chakma => &["Noto Sans Chakma"],
|
||||
Script::Cherokee => &["Noto Sans Cherokee"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue