Skip to content

Commit

Permalink
Switch to maintained fork of Twemoji
Browse files Browse the repository at this point in the history
The original repo is not maintained after the team was slowly laid off: twitter/twemoji#570 (comment)
However, they forked the repo and there's a maintained version at https://github.com/jdecked/twemoji

This included Unicode 15 support. So we can have 🪿 now!
  • Loading branch information
klimeryk committed Apr 3, 2024
1 parent 70621cf commit 0199c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ self.onmessage = ( { data } ) => {
Font.register( getFontDefinition( config.fontFamily ) );
Font.registerEmojiSource( {
format: 'png',
url: 'https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/72x72/',
url: 'https://cdn.jsdelivr.net/gh/jdecked/twemoji@latest/assets/72x72/',
} );

const document = React.createElement(
Expand Down

0 comments on commit 0199c05

Please sign in to comment.