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

Wrong glyph digit shapes for extended arabic-indic digits #279

Open
r12a opened this issue Jun 20, 2024 · 1 comment
Open

Wrong glyph digit shapes for extended arabic-indic digits #279

r12a opened this issue Jun 20, 2024 · 1 comment
Labels
doc:arab_ur doc:arfa gap The first comment in this issue is read by the gap-analysis document. i:fonts Fonts & font styles l:pes Persian l:ur Urdu p:advanced s:arab Arabic script (Used for arb + pes) x:arab-ur x:blink x:gecko x:webkit

Comments

@r12a
Copy link
Contributor

r12a commented Jun 20, 2024

This issue is applicable to Persian, Urdu and Sindhi.

Persian, Urdu and Sindhi use extended-arabic-indic codepoints for digits in list counter styles. However, languages that use these code points tend to prefer specific glyph shapes for certain numbers, as shown here.

More:

The GAP

An intelligent opentype font may be able to detect the language of the text and substitute appropriate glyphs if it is used for the content, but here we are looking at the default behaviour of the browser, with no fonts explicitly assigned to the text.

Blink displays Persian digit glyphs in all three cases.

Webkit renders the correct glyphs for Persian and Urdu, but not for Sindhi.

Gecko renders Persian glyph shapes throughout, even though it uses different fonts for Persian vs. Urdu/Sindhi.

Priority

While this is clearly not right, more user feedback is needed if we are to determine that this causes readability issues. Therefore labelling this, for now, as Advanced.

Tests & results

Interactive test, The browser uses appropriate digit glyph shapes for Persian, Urdu, and Sindhi by default.

Action taken

GeckoBlinkWebkit

Outcomes

tbd

@r12a r12a added gap The first comment in this issue is read by the gap-analysis document. doc:arfa p:advanced x:webkit x:blink x:gecko i:fonts Fonts & font styles l:pes Persian l:ur Urdu doc:arab_ur x:arab-ur labels Jun 20, 2024
@r12a
Copy link
Contributor Author

r12a commented Jun 20, 2024

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the Editor's draft of the document. Proposals for changes or discussion of the content can be made by adding comments below this point.

Relevant gap analysis documents include:
Arabic/PersianUrdu

@r12a r12a added the s:arab Arabic script (Used for arb + pes) label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:arab_ur doc:arfa gap The first comment in this issue is read by the gap-analysis document. i:fonts Fonts & font styles l:pes Persian l:ur Urdu p:advanced s:arab Arabic script (Used for arb + pes) x:arab-ur x:blink x:gecko x:webkit
Projects
Status: Browser bug raised
Development

No branches or pull requests

1 participant