Open Bug 1510227 Opened 6 years ago Updated 2 years ago

Use HarfBuzz ot-color support for Emojis

Categories

(Core :: Graphics: Text, enhancement, P3)

63 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: ebrahim, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: Firefox had been pioneer on supporting different Emoji standard (CBDT/SBIX/SVG/COLR) standard. Now that harfbuzz provides a simple and safe API for color Emojis https://github.com/harfbuzz/harfbuzz/blob/master/src/hb-ot-color.h#L46 it would be nice if Mozilla could use it in order to simplify text rendering stack also, it avoids also having platform specific support like this https://github.com/mozilla/gecko-dev/blob/e75ab0ac9a9bf68d40ebcb002cb33de8398b8669/gfx/thebes/gfxTextRun.cpp#L541-L545 see https://github.com/harfbuzz/harfbuzz/blob/master/src/test-ot-color.cc as an sample code.
Blocks: 1509158
Component: Untriaged → Graphics: Text
Product: Firefox → Core
Severity: normal → enhancement
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.