Skip to content

Commit

Permalink
Emoji support for feedback printing
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Jul 28, 2024
1 parent cc3b8a3 commit 6f0cd71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/js/components/print/feedback/FeedbackDocument.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ const registerFonts = async () => {
{src: FontAwesomeSolid},
],
})
Font.registerEmojiSource({
formag: 'png',
url: '/twemoji/assets/72x72/',
})

return await Promise.all([
Font.load({fontFamily: 'SourceSansPro'}),
Expand Down

0 comments on commit 6f0cd71

Please sign in to comment.