Skip to content

Fixes Kurdish lam-alef ligature in Noto Sans Arabic UI fonts#281

Open
mapmeld wants to merge 2 commits intonotofonts:mainfrom
mapmeld:arabic-ui
Open

Fixes Kurdish lam-alef ligature in Noto Sans Arabic UI fonts#281
mapmeld wants to merge 2 commits intonotofonts:mainfrom
mapmeld:arabic-ui

Conversation

@mapmeld
Copy link
Copy Markdown

@mapmeld mapmeld commented Mar 15, 2026

Hi team - the OpenStreetMap project uses Noto fonts on most map tiles. For some time they've had an issue with about 1,000 place names in the Kurdish region which use ڵا , a three-character ligature (original Noto issue: #8 )

This got fixed in Noto Arabic, but not in the UI fonts, which I heard were deprecated.
Admin was concerned that changing to the current Noto Arabic fonts would have larger effects such as line-height.
Last year I reviewed the fix to ligatures in the main Noto Sans font (added anchors, rewritten ligature rules), and applied them to the UI font. You can see my font here: https://mapmeld.com/arabic/index.html

I've put the changes into this PR. One issue which I couldn't resolve, is I had to turn off variable fonts on the UI font for the bolder and lighter fonts to build the new anchors correctly. I am new to the fonts world, so if you can flag what might be causing this issue, I'm happy to go back and review.

Sample error when variable fonts is on:

ERROR:fontmake.compatibility:
Fonts had differing anchors in glyph alefTwoabove-ar.fina:
 * Noto Sans Arabic UI Light, Noto Sans Arabic UI Regular, Noto Sans Arabic UI Condensed had:
    "bottom, top, top.digit"
 * Noto Sans Arabic UI SemiBold, Noto Sans Arabic UI Bold, Noto Sans Arabic UI Condensed Light, Noto Sans Arabic UI Condensed SemiBold, Noto Sans Arabic UI Condensed Bold had: "bottom, top"

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.

1 participant