Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support colored emojis in PDF output #25

Open
Peque opened this issue Oct 4, 2020 · 1 comment
Open

Support colored emojis in PDF output #25

Peque opened this issue Oct 4, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@Peque
Copy link
Member

Peque commented Oct 4, 2020

As of #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.

@Peque Peque added help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest enhancement New feature or request labels Oct 4, 2020
@Peque Peque mentioned this issue Oct 4, 2020
@ypapouin
Copy link

ypapouin commented Feb 3, 2023

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:

  • |:snake:| -> \emoji{snake}
  • 🐍 -> \emoji{snake}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants