diff options
author | Jonathan Clark <jonathan@libreoffice.org> | 2024-08-13 12:32:18 -0600 |
---|---|---|
committer | Jonathan Clark <jonathan@libreoffice.org> | 2024-08-15 00:31:07 +0200 |
commit | dda85e275d70d6365009042b8e207337f2e712c2 (patch) | |
tree | 1942b53562807cc50e6c60136f92013bd4dbb9d1 /liblangtag/liblangtag-0.4.0-windows2.patch | |
parent | tdf#160301 - Add Unit test (diff) | |
download | core-master.tar.gz core-master.zip |
tdf#156211 sw: Fix spurious kashida inserted after undo
HEADmaster
This change fixes an issue presenting as incorrectly-positioned kashida
glyphs overlapping Arabic text after certain edit operations.
During layout with kashida justification, Writer builds a table of lines
that require fallback to whitespace justification. Normally, this table
is built sequentially from the first line, but it may be updated
out-of-order following certain edit operations.
Due to an off-by-one error, if Writer cleared the exclusion for a line
immediately before a legitimately-excluded line, Writer would also clear
the legitimate exclusion. In such a situation, portions of excluded text
would be redrawn with kashida justification, and because that text
usually does not have enough free space, the kashida glyphs would be
drawn on top of the base text.
Change-Id: I204661286531fa6064f7a6adc35f1606e35e5d39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171878
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Diffstat (limited to 'liblangtag/liblangtag-0.4.0-windows2.patch')
0 files changed, 0 insertions, 0 deletions