Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New check: allah_ligature #4728

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

New check: allah_ligature #4728

wants to merge 1 commit into from

Conversation

yanone
Copy link
Collaborator

@yanone yanone commented May 17, 2024

Description

Check correct formation of allah ligature in presence of explicit tashkeel (issue #4727)

Checklist

  • update CHANGELOG.md
  • wait for the tests to pass
  • request a review

@yanone yanone linked an issue May 17, 2024 that may be closed by this pull request
7 tasks
"""Ensure correct formation of allah ligature in the presence of tashkeel marks."""

cmap = ttFont["cmap"].getBestCmap()
allah_unicode = 0xFDF2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A font can contain الله or even لله ligature without U+FDF2 to it. It might also include U+FDF2 but use a different glyph for the ligature.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, thanks. Give me some time... This check is generally a bit immature still.

@felipesanches
Copy link
Collaborator

I've just rebased to current main branch and fixed the conflicts in this PR.

Added to the Universal profile.
allah_ligature: "Check correct formation of allah ligature in presence of explicit tashkeel."

(issue #4727)
@felipesanches
Copy link
Collaborator

I've git-rebased this PR and fixed conflicts.
CI job is still red though due to a code-test not passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New check: Arabic allah (الله) ligature
3 participants