Proof of concept: layered emoji can be made with CBDT/GCLC glyphs. Works for the following sequence:
👩‍❤️‍👩
The font turns these three emoji into one single emoji.
- Create "artwork" for separate pieces of the composed emoji:
woman, left
,woman, right
andsmall heart, centered
- Create CBDT/CBLC table, using "artwork" as PNG → hex
- Create GSUB substitution rules table
- Generare font
- Show result in
test.html
- Dimensions of "artwork" are off
- There is no artwork for the single
woman
andheart
emoji in the demo font - Once substitution rules are in place, this will work regardless of color glyphs used. E.g. COLR/CPAL, SVG, sbix. It's possible to further re-use glyph components in the SVG format.
- In proper artwork, more substitutions can happen. E.g. re-use shadow layers between foreground/background emoji.