Pango with U+FE0E and U+FE0F variation selectors

When I run pango_shape_full() over text that includes an emoji code point followed by one of the emoji variation selectors (U+FE0E and U+FE0F) it returns the a glyph with the index of the emoji followed by a glyph with the index of 0x0FFFFFFF. Is this intentional and if so, what is the purpose?

Probably because 0x0FFFFFFF is zero-width empty glyph, since they are variant forms ?

#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)

1 Like