-
Notifications
You must be signed in to change notification settings - Fork 568
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
Colored emoji support #1109
Comments
I think you are correct. As in the code the declared color is used for the whole font, and not for individual characters/emojis. This would be a nice feature, to support Fonts with different colors for different characters. As I understand each "character" in the font is a simple image (like an SVG?). |
I searched a little for open/free fonts, and many of them come with the SVGs used to create them. Maybe using these SVG instead of the font could be a workaround. |
Is your feature request related to a problem? Please describe.
We use openpdf through flying saucer and we would like to be able to render UTF-8 colored emoji. Until now we are juste able to render them in black and white (or the unique color chosen for the font).
We tried with :
I assume that currently openpdf don't take into account the color info in the emoji font. Is it right or am I just doing something wrong ?
Here is the code used to create the pdf from the html
A simplified html given as input
Describe the solution you'd like
Adding the ability to render UTF-8 colored emoji in openpdf
Describe alternatives you've considered
Keeping the emoji in black and white
Additional context
/
The text was updated successfully, but these errors were encountered: