Make noto color emoji have a higher preference for fallback

This commit is contained in:
Jeremy Soller 2022-12-02 08:41:38 -07:00
parent cd64388451
commit 05d97f0f3a
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -8,6 +8,9 @@ pub fn common_fallback() -> &'static [&'static str] {
&[
/* Sans-serif fallbacks */
"Noto Sans",
/* Emoji fallbacks*/
"Noto Color Emoji",
/* More sans-serif fallbacks */
"DejaVu Sans",
"FreeSans",
/* Mono fallbacks */
@ -17,8 +20,6 @@ pub fn common_fallback() -> &'static [&'static str] {
/* Symbols fallbacks */
"Noto Sans Symbols",
"Noto Sans Symbols2",
/* Emoji fallbacks*/
"Noto Color Emoji",
//TODO: Add CJK script here for doublewides?
]
}