Merge pull request #68 from hecrj/fix/emoji-fallback-order

Fix `Noto Color Emoji` font fallback order for Unix
This commit is contained in:
Jeremy Soller 2023-02-03 20:17:44 -07:00 committed by GitHub
commit 9b48d99666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,6 @@ pub fn common_fallback() -> &'static [&'static str] {
&[
/* Sans-serif fallbacks */
"Noto Sans",
/* Emoji fallbacks*/
"Noto Color Emoji",
/* More sans-serif fallbacks */
"DejaVu Sans",
"FreeSans",
@ -20,6 +18,8 @@ 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?
]
}