Use of unicode (eg. 🫵)

Hi,

I do use unicode in my workflow (editor, file…) and some unicode such as : :index_pointing_at_the_viewer: or​:muscle:, are well represented in my editor, but the pdf have difficulties to display them. I got a � in the pdf, but get a good display within html output.

What could I do ?

cED

Typst natively support unicode, and even has an emoji module to easily insert emojis into your document (in your case, emoji.finger.front and emoji.arm.muscle in case you don’t want to copy/paste emojis directly into the source code.

Make sure the font that you are using supports emojis

1 Like

I think the emoji font you use might be the problem. You could try to use a different font that provides emojis.
If you haven’t explicitly set an emoji font, Typst falls back to one available on the system you compile the document on.

#set text(font: (
  "YOUR-TEXT-FONT",
  "YOUR-EMOJI-FONT",
))