Skip to content

Commit

Permalink
Revert "Fix Noto Color Emoji font fallback order for Unix"
Browse files Browse the repository at this point in the history
This reverts commit 66288ab.

Note that putting "Noto Color Emoji" anywhere lower (even just below "DejaVu Sans")
creates issue described in pop-os#327

Putting it above "Noto Sans" breaks text rendering completely.

With the commit reverted I cannot reproduce the original issue
pop-os#68 the commit
66288ab was supposed to fix.
  • Loading branch information
richardhozak committed Nov 16, 2024
1 parent 1f4065c commit 0ecad7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/font/fallback/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pub fn common_fallback() -> &'static [&'static str] {
&[
/* Sans-serif fallbacks */
"Noto Sans",
/* Emoji fallbacks*/
"Noto Color Emoji",
/* More sans-serif fallbacks */
"DejaVu Sans",
"FreeSans",
Expand All @@ -18,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?
]
}
Expand Down

0 comments on commit 0ecad7a

Please sign in to comment.