diff options
author | László Németh <nemeth@numbertext.org> | 2024-01-10 20:41:04 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2024-01-18 01:29:38 +0100 |
commit | 8b393bba91111bd4f8988457f3a78b0306462bf2 (patch) | |
tree | d01cea4578cff4996177f52d5be6019d480bb168 /extras | |
parent | 5d52d7dcdf07e5d117e9854af5956b2e93ad3e46 (diff) |
tdf#159102 sw smart justify: fix automatic hyphenation
As before with soft hyphens, automatic hyphenation
could result too much shrinking, because of calculating
with an extra non-existing space in the line.
Also try to shrink the line only if a space likely
will be available in it.
During testing, extend user dictionary temporarily
with custom automatic hyphenation to avoid of false tests
because of non-available hyphenation patterns. (Note: maybe
the other tests with non-user dictionary based automatic
hyphenations are not correct.)
Follow-up to commit d511367c102ef2ada0f73dbe81744d39865d58ba
"tdf#195085 sw smart justify: fix bad shrinking at soft hyphen".
Change-Id: I58ecb8f1ea9f55ef2457d7ff4aca6aefa59a6dd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162199
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions