Colored Emoji Support
- Dominant language
- Python
- Stars
- 951
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
are color emoji currently supported?
From cairo changelog for version 1.15.8 ( [https://cairographics.org/news/cairo-1.15.8/](https://cairographics.org/news/cairo-1.15.8/) ) it seems there is support for "colored emoji glyphs, stored as PNG images in OpenType fonts".
I tried to convert an SVG containing an emoji to PDF with font with embed PNG taken from [here](https://github.com/googlei18n/color-emoji) but the emoji is rendered without colors.
Did you manage to rasterize colored emoji? which font did you use?
Font and SVG file attached.
[test.svg.zip](https://github.com/Kozea/CairoSVG/files/2832578/test.svg.zip)
[PhantomOpenEmoji.ttf.zip](https://github.com/Kozea/CairoSVG/files/2832579/PhantomOpenEmoji.ttf.zip)
Software versions:
cairosvg 2.2.1
libcairo2-dev 1.16.0
Command:
cairosvg -f pdf -o test.pdf test.svg
Thank you.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached test.svg and PhantomOpenEmoji.ttf.zip, then reproduce the command `cairosvg -f pdf -o test.pdf test.svg` using CairoSVG 2.2.1 and libcairo2-dev 1.16.0. Check whether colored emoji glyphs are preserved in the generated PDF and identify whether the behavior is supported or needs a change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100