https://bugs.documentfoundation.org/show_bug.cgi?id=155542

خالد حسني <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from خالد حسني <[email protected]> ---
I *think* I know what is going on. The code is creating a glyph subset that cut
between a base character and a combining mark, this should have failed but it
didn’t and it included the combing mark glyph into the subset because it have
the same charPos as the base glyph (this probably couldn’t happen when this
code was written, but this changed in 09c076c3f29c28497f162d3a5b7baab040725d56,
indeed if I set the cluster level again the assert does not happen). Now when
it chceks the layouts, the new layout does nit include the combining mark and
the new glyphs are one short so it asserts.

This code is pretty complex and I need a bit more time to understand it, but we
have GlyphItem flags IS_CLUSTER_START and IS_IN_CLUSTER to allow detecting such
situations.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to