diff --git a/fonts/DejaVuSansSansEmoji.ttf b/fonts/DejaVuSansSansEmoji.ttf new file mode 100644 index 00000000..f43a8fa9 Binary files /dev/null and b/fonts/DejaVuSansSansEmoji.ttf differ diff --git a/fonts/README.txt b/fonts/README.txt index 62047ee6..a2283c14 100644 --- a/fonts/README.txt +++ b/fonts/README.txt @@ -18,3 +18,11 @@ Tools to manage these pyftsubset noto/NotoColorEmoji.ttf --unicodes="1F000-1FFFF" --layout-features='*' --symbol-cmap --legacy-cmap --no-notdef-glyph --no-notdef-outline --output-file=EmojiOnly.ttf + + +Noto Emoji (monochrome) comes from: + https://github.com/googlefonts/noto-emoji + +CHARS COVERED + NotoEmoji-Regular: + From 1F000 forward, we take these. Therefore strip them from the other fonts. diff --git a/src/ui/style.rs b/src/ui/style.rs index d3e712fe..e2df5c5b 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -132,7 +132,7 @@ pub(super) fn font_definitions() -> FontDefinitions { font_data.insert( "DejaVuSans".to_owned(), - FontData::from_static(include_bytes!("../../fonts/DejaVuSans.ttf")) + FontData::from_static(include_bytes!("../../fonts/DejaVuSansSansEmoji.ttf")), ); font_data.insert(