https://bugs.documentfoundation.org/show_bug.cgi?id=163215

            Bug ID: 163215
           Summary: Kashida justification does not work with AAT fonts
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kha...@libreoffice.org

Currently we verify Kashida insertion positions with HarfBuzz to drop positions
where it is not safe to insert kashida without re-shaping (as we insert Kashida
after shaping). This works fine for OpenType fonts, but HarfBuzz does not (and
can not) do any such validation for AAT fonts, so all Kashida insertion
positions are considered invalid for such fonts and we get no Kashida insertion
at all.

AAT Arabic fonts are rather common on macOS (all Arabic fonts shipped by Apple
seem to be AAT fonts). A suggested fix is to not do any Kashida position
validation for AAT fonts, so basically revert to the old behavior. Almost all
Arabic AAT fonts are rather simple ones that do not do any complex
substitutions, so the validation is superfluous and no validation is better
than no Kashida justification.

For testing, if access to macOS system fonts is not possible,
http://wiki.irmug.com/index.php/X_Series_2 fonts can be used as they are hyprid
OpenType/AAT fonts (and HarfBuzz will use the AAT layout table so OpenType
layout tables are effectively ignored).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to