diff options
author | Jonathan Clark <jonathan@libreoffice.org> | 2024-09-25 16:07:06 -0600 |
---|---|---|
committer | Jonathan Clark <jonathan@libreoffice.org> | 2024-09-26 22:44:03 +0200 |
commit | d8f430e4bef414616fd80bbf4ea16d767991b5b9 (patch) | |
tree | c12ef8a2dbb0cf69c66e1166e5c1bfaf04575d56 /pch/Module_pch.mk | |
parent | 348efa75b992fe863bf85b39e5d0e71eb7ba8aba (diff) |
tdf#163105 Use HB data while selecting kashida insertion positions
Previously, Writer and Edit Engine would skip inserting kashida in words
if the highest-priority candidate position is marked as invalid by
HarfBuzz. This would happen even if the word contained multiple
lower-ranked valid candidate positions.
This change updates Writer and Edit Engine to pass HarfBuzz kashida
position data to the selection algorithm. The algorithm has been updated
to return the highest-priority valid position, if any. The algorithm has
also been updated to use raw positions marked as valid by HarfBuzz as a
fallback, if no better positions could be found.
Change-Id: I40c6432c4607aee197e8767e5667db504469956a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173963
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Diffstat (limited to 'pch/Module_pch.mk')
0 files changed, 0 insertions, 0 deletions