Bug 155531 - Kashida justification is disabled for AAT fonts
Summary: Kashida justification is disabled for AAT fonts
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Kashida-Justification, Tatweel
  Show dependency treegraph
 
Reported: 2023-05-28 08:43 UTC by ⁨خالد حسني⁩
Modified: 2024-09-30 19:02 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ⁨خالد حسني⁩ 2023-05-28 08:43:07 UTC
Since 7.5, we started using HarfBuzz API to check for places where inserting Kashida would break the joining of the text.

However, HarfBuzz API handles only OpenType fonts, for fonts that use AAT (Apple Advanced Typography) layout it marks all places unsuitable for Kashida insertion.

This should ideally be fixed in HarfBuzz, but it is a hard problem (https://github.com/harfbuzz/harfbuzz/issues/3721#issuecomment-1214410789). Alternatively, we may skip the check for AAT fonts (there are not that many of them, and they are mostly simple fonts where Kashida insertion will not break the joining).

This includes Arabic fonts that ship with macOS (e.g. Al Bayan, Geeza Pro) and third party fonts like http://wiki.irmug.com/index.php/X_Series_2.
Comment 1 V Stuart Foote 2023-05-28 13:59:17 UTC
.
Comment 2 ⁨خالد حسني⁩ 2024-09-30 19:02:17 UTC
Not happening upstream. Bug 163215 has an alternative approach that should be good enough.