googlefonts / noto-emoji

Noto Emoji fonts
SIL Open Font License 1.1
3.71k stars 449 forks source link

broken chain is broken #442

Closed idontveapc closed 8 months ago

idontveapc commented 9 months ago

⛓️‍💥 vs 🔗‍💥

one is working (first) and (second) one isn't. one combination doesn't have variation selector(vs)-16 (second one) and os broken.

combination:

  1. ⛓️+️+‍+💥
  2. 🔗+‍+💥
Mercury13 commented 8 months ago

The first is intended to work. The second should not. Close?

idontveapc commented 8 months ago

second one is copied from emojipedia blog article about noto emoji update

curya commented 8 months ago

second one is copied from emojipedia blog article about noto emoji update

https://blog.emojipedia.org/googles-emoji-15-1-support-in-noto-color-emoji/ This one? I think that's a typo. If you click on it, it takes you to correct version.

rsheeter commented 8 months ago

Thank you for the report.

https://unicode.org/Public/emoji/15.1/emoji-test.txt lists two sequences for broken chain:

26D3 FE0F 200D 1F4A5                                   ; fully-qualified     # ⛓️‍💥 E15.1 broken chain
26D3 200D 1F4A5                                        ; unqualified         # ⛓‍💥 E15.1 broken chain

When I test each sequence against CBDT and COLRv1 builds of the font they seem to map both sequences to a single glyph, suggesting both sequences were recognized and produce the same output:

$ hb-shape --unicodes="26D3,200D,1F4A5" --ned fonts/Noto-COLRv1.ttf
[gid3488]
$ hb-shape --unicodes="26D3,FE0F,200D,1F4A5" --ned fonts/Noto-COLRv1.ttf
[gid3488]

$ hb-shape --unicodes="26D3,200D,1F4A5" --ned fonts/NotoColorEmoji.ttf
[gid1485]
$ hb-shape --unicodes="26D3,FE0F,200D,1F4A5" --ned fonts/NotoColorEmoji.ttf
[gid1485]

I think that means working as intended. If I misunderstood please reopen and clarify how to reproduce the problem.