Skip to content

Commit

Permalink
docs: add broken emoji troubleshooting to exporting.md (#1877)
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger authored Sep 24, 2024
1 parent 668a9aa commit 030021b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/guide/exporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,17 @@ Here is a basic example that covers all backgrounds in the application:
background: transparent !important;
}
```

## Troubleshooting

### Broken Emojis

If the PDF or PNG are missing Emojis, you are likely missing required fonts (such as. e.g. [Google's _Noto Emoji_](https://fonts.google.com/noto/specimen/Noto+Emoji)) in your environment.

This can affect e.g. CI/CD-like in-container sort of Linux environments. It can be fixed e.g. like this:

```bash
$ curl -L --output NotoColorEmoji.ttf https://github.com/googlefonts/noto-emoji/raw/main/fonts/NotoColorEmoji.ttf
$ sudo mv NotoColorEmoji.ttf /usr/local/share/fonts/
$ fc-cache -fv
```

0 comments on commit 030021b

Please sign in to comment.