From 0199c05b1cef757cc38f7ecf8345fbf3bfcd13b1 Mon Sep 17 00:00:00 2001 From: Igor Klimer Date: Wed, 3 Apr 2024 13:15:29 +0000 Subject: [PATCH] Switch to maintained fork of Twemoji MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original repo is not maintained after the team was slowly laid off: https://github.com/twitter/twemoji/issues/570#issuecomment-1312697949 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! --- src/worker/pdf.worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/pdf.worker.js b/src/worker/pdf.worker.js index 5633c2a..1564628 100644 --- a/src/worker/pdf.worker.js +++ b/src/worker/pdf.worker.js @@ -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(