Skip to content

Hebrew elongated justification #402

@Udi-Fogiel

Description

@Udi-Fogiel

Some Hebrew fonts provide a just feature which substitute some letters with a wider version. This was historically used to help justification, and although not commonly used today it will be a nice feature to have. The common letters with wide variants are aleph, dalet, he, kaf, lamed, final mem, resh and tav, you can find the wide variant in the Alphabetic Presentation Forms block. The implementation should be similar to how it is done for Arabic (maybe with some configuration to which characters should be elongated).

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Script=Hebrew,Renderer=HarfBuzz]{NachlieliCLM}

\begin{document}
אדהכלםרת

\addfontfeature{RawFeature={+jalt}}
אדהכלםרת
\end{document}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions