diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-05-30 09:48:40 +0300 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-05-30 10:54:01 +0200 |
commit | bf8d1290a4de26f06d429148a92cbdb7a63eecf5 (patch) | |
tree | f452a9dc724f131a2113f5714c71fac8dbd9bc07 /sw/source | |
parent | 385d3323ce23833e8706b0d21f6df07e1927b8e0 (diff) |
tdf#155542: Fix crashtesting assert
When cloning an RTL glyph range, we might end up cutting in the middle
of a cluster e.g. between a base character and a combining mark since
both with have the same charPos() after:
commit 09c076c3f29c28497f162d3a5b7baab040725d56
Author: Khaled Hosny <khaled@aliftype.com>
Date: Wed Oct 5 21:00:46 2022 +0200
tdf#151350: Fix extraneous gaps before marks
(which changed how HarfBuzz sets up clusters back to the default where
marks form clusters with their bases, before that a mark formed its own
cluster).
This leads to the cloned glyph range to include the glyph for the
combining marks, while it is not included in the text string.
Change-Id: I83031e0e0ffc7c5932101649a9cc2bf953a6347d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152380
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source')
0 files changed, 0 insertions, 0 deletions