<div dir="ltr"><div><div><div><div><div><div>If I have the string <span style="font-family:monospace,monospace">A = 'affifibcd'</span> and the master list of shaped glyphs<br><br></div><span style="font-family:monospace,monospace">[a 0] [ffi 1] [fi 4] [b 6] [c 7] [d 8]</span><br><br></div>and I wanted to shape the substring <span style="font-family:monospace,monospace">A[2:]</span> (<span style="font-family:monospace,monospace">'fifibcd'</span>), could I simply take my preshaped glyphs after the cluster at or above (ceiling) <span style="font-family:monospace,monospace">i = 2</span> and only reshape the <span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">segment</font></span> <span style="font-family:monospace,monospace">A[2:6]</span>?<br><br></div>So I would reuse the glyphs<br><br><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">[fi 4] </span>[b 6] [c 7] [d 8]<br><br></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">and reshape the segment </font>A[2:6] = 'fifi'</span> to get<br><br><span style="font-family:monospace,monospace">[fi 2] [fi 4]</span><br><br></div>and add them together (dropping the last glyph in the reshaped segment) to get<br><br><span style="font-family:monospace,monospace">[fi 2]  </span><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">[fi 4] </span></span><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"></span>[b 6] [c 7] [d 8]<br></span><span style="font-family:arial,helvetica,sans-serif"><br>?<br></span></div><span style="font-family:arial,helvetica,sans-serif">Would this be the same result as reshaping the entire segment <span style="font-family:monospace,monospace">A[2:]</span>? Would this still work for RTL text, or a substring that’s on the left-hand side of the parent string like </span><span style="font-family:monospace,monospace">A[:5] = 'affif'?<br></span></div>