Any ideas what could be going on? I’m running Fedora Asahi Remix 43, maybe something is messed up with my system fonts but Flatpaks are fine because of isolation? Is there something I can do to correct this?
(I see a black rectangle behind the glasses in the exported PDF when compiling with typst compile)
If you didn’t configure an emoji font, which most documents don’t, and you leave text.fallback to its default enabled value, then Typst will find an emoji symbol in some installed font if possible (any suitable font it finds).
So the answer is probably that different fonts are installed for the two different environments. Install an appropriate emoji font, and if possible configure an emoji font for the document. It’s done using the usual text.font setting, with an array of fonts.
It’s sometimes helpful to use set text(fallback: false) at least for troubleshooting, because then it’s clear which symbols are not supported by the fonts you have explicitly set in the document.
Only issue is I have no idea which font supports that specific character. I would need to find a way to find a working font starting from the character…
If you want SVG try this (https://github.com/adobe-fonts/noto-emoji-svg/raw/main/fonts/NotoColorEmoji-SVG.otf+typst compile --ignore-system-fonts --font-path /home/yalihupokn/Downloads/ t.typ)
[ORIGINAL]
This did it in the end! (typst compile --font-path /var/lib/flatpak/runtime t.typ)