Skip to content

Commit

Permalink
Subset twitter color emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Apr 13, 2024
1 parent c275f6a commit 64a70b3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/resvg/tests/fonts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
How fonts were subsetted:

Twitter Color Emoji
1. Download Twitter Color Emoji: https://github.com/13rac1/twemoji-color-font/releases/download/v14.0.2/TwitterColorEmoji-SVGinOT-14.0.2.zip
2. Run `fonttools subset TwitterColorEmoji-SVGinOT.ttf --unicodes="U+1F601,U+1F980,U+1F3F3,U+FE0F,U+200D,U+1F308,U+1F600,U+1F603,U+1F90C,U+1F90F" --output-file=TwitterColorEmoji.subset.ttf`
Binary file not shown.
Binary file removed crates/resvg/tests/fonts/TwitterColorEmoji.ttf
Binary file not shown.
Binary file modified crates/resvg/tests/tests/text/color-font/mixed-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added fonts/emojis.txt
Empty file.

0 comments on commit 64a70b3

Please sign in to comment.