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

--- Comment #7 from Andreas Heinisch <[email protected]> ---
We should check if the u_CharType here:
if (nCopyStart + nCopyLen - 1 < rInf.GetText().getLength())
{
    switch (u_charType(rInf.GetText()[nCopyStart + nCopyLen]))
    {
        case U_NON_SPACING_MARK:
        case U_ENCLOSING_MARK:
        case U_COMBINING_SPACING_MARK:
            nCopyLen += 1;
            rInf.SetIdx(TextFrameIndex(nCopyStart + 1));
            rInf.SetLen(TextFrameIndex(nCopyLen));
            break;
    }
}

But somehow the kerning array should be adjusted, and there I miss to much
information of how about it works.

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

Reply via email to