<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hi all,</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">When rendering vertical text I need to know if a vertical variant has been selected for a code point and, if not, rotate it manually. According to UTR #50, U+2026 HORIZONTAL ELLIPSIS is marked as 'R', which means it needs to be rotated. If the font has a vertical variant for it, like it happens with Noto, I shouldn't rotate the character or else it will be made horizontal again.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">How can one detect if a substitution has been applied to a code point? I was hoping it would be in hb_glyph_flags_t but I can see only HB_GLYPH_UNSAFE_TO_BREAK. Do I need to shape the text in both horizontal and vertical mode and diff the buffers to see if the glyph indices have changed?<br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks!</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Pedro</div></div>