mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 16:31:18 +00:00
Strip emojis from DejaVuSans so we fallback to the nicer NotoEmojis
This commit is contained in:
parent
85ce60ac70
commit
e1e74f65f8
BIN
fonts/DejaVuSansSansEmoji.ttf
Normal file
BIN
fonts/DejaVuSansSansEmoji.ttf
Normal file
Binary file not shown.
@ -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
|
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.
|
||||||
|
@ -132,7 +132,7 @@ pub(super) fn font_definitions() -> FontDefinitions {
|
|||||||
|
|
||||||
font_data.insert(
|
font_data.insert(
|
||||||
"DejaVuSans".to_owned(),
|
"DejaVuSans".to_owned(),
|
||||||
FontData::from_static(include_bytes!("../../fonts/DejaVuSans.ttf"))
|
FontData::from_static(include_bytes!("../../fonts/DejaVuSansSansEmoji.ttf")),
|
||||||
);
|
);
|
||||||
|
|
||||||
font_data.insert(
|
font_data.insert(
|
||||||
|
Loading…
Reference in New Issue
Block a user