sphinx-contrib / emojicodes

An extension to use emoji codes in your Sphinx documentation! 😍
https://sphinxemojicodes.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
48 stars 15 forks source link

Support colored emojis in PDF output #25

Open Peque opened 3 years ago

Peque commented 3 years ago

As of https://github.com/sphinx-contrib/emojicodes/pull/22, there is support for black and white emojis, but the Symbola font does not display all emojis properly (i.e.: modifiers are not applied). It would be great to support colored emojis.

Twemoji should be preferred over Noto, since that is what we are already allowing in the HTML builds.

See:

Ideally, it should be easy to run/reproduce from current Linux distributions without requiring much effort on the user side.

The font must be free/libre though.

ypapouin commented 1 year ago

For information, there is a now a dedicated package for the lua(la)tex engine

\usepackage{emoji}

https://github.com/stone-zeng/latex-emoji https://mirrors.mit.edu/CTAN/macros/luatex/latex/emoji/emoji-doc.pdf

That means that a pre-processor should be made to translate both:

The mapping tables could be parsed and used to automatically generate this rst -> latex pre-processor