Skip to content

Commit

Permalink
Update agg usage wrt emoji support
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Oct 27, 2024
1 parent 7686ee2 commit eafc414
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/manual/agg/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Notable features:
- multiple built-in color themes, ability to use a custom theme,
- font family and font size customization,
- adjustable animation speed,
- emoji support (mono).
- emoji support.

---

Expand Down
15 changes: 6 additions & 9 deletions docs/manual/agg/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,14 @@ agg --font-family "JetBrainsMono Nerd Font Mono" demo.cast demo.gif

## Emoji

Currently agg supports only monochrome emojis via [Noto Emoji
font](https://fonts.google.com/noto/specimen/Noto+Emoji).
agg supports emojis when either [Noto Color
Emoji](https://github.com/googlefonts/noto-emoji) or [Noto
Emoji](https://fonts.google.com/noto/specimen/Noto+Emoji) font is installed. The
default renderer, `resvg`, supports color emojis, while `fontdue` renderer only
supports monochrome emojis.

Install Noto Emoji font on your system or, point agg to a folder containing
`NotoEmoji-*.ttf` files with `--font-dir`.

Note that [Noto Color Emoji
font](https://fonts.google.com/noto/specimen/Noto+Color+Emoji) is not supported.
Be aware that [some
distros](https://archlinux.org/packages/extra/any/noto-fonts-emoji/) ship this
color font by name like "noto-fonts-emoji". This is _not_ what you need.
`NotoColorEmoji.ttf` or `NotoEmoji-*.ttf` files with `--font-dir`.

## Color themes

Expand Down

0 comments on commit eafc414

Please sign in to comment.