IVS are not handled correctly when gravity=east
Hello,
I'm afraid that Pango (1.51.0 and older) doesn't render characters with IVS (U+E0100 - U+E01EF) as expected when gravity=east.
I found adding '|| (ch >= 0xe0100u && ch <= 0xe01efu)' to width_iter_next() at https://gitlab.gnome.org/GNOME/pango/-/blob/1.51.1/pango/itemize.c?ref_type=tags#L234 might be a fix, but I'm not sure. I'd appreciate if you cound look into this.
Steps to reproduce:
I used 'Source Han Sans JP' Version 2.004 (SubsetOTF) for the attached images.
- With the default gravity (south), different glyphs are rendered for with/without IVS:
$ pango-view --no-display --output=south.png --dpi=300 --font='Source Han Sans JP' --text='辻󠄀辻'
(The text consists of U+8FBB U+E0100 U+8FBB)
- With --gravity=east, the same glyph is rendered for both with and without IVS:
$ pango-view --no-display --output=east.png --dpi=300 --gravity=east --font='Source Han Sans JP' --text='辻󠄀辻'