w3c / w3c/alreq

Arabic Hamza bellow with Kasra break fonts.

Open
#147 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser-bug
Dominant language
HTML
Stars
71
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Some fonts don't display both the Hamza Bellow (a letter) and the Kasra bellow it.
(a) hamzacgjkasra

The Kasra is put above the Hamza. Bad.
(b) hamzakasra

Even if you permute Hamza and Kasra.

Example :
<p> &#x0642;&#x0627;&#x0649;&#x0655;&#x0650;&#x062F;<p> قاىِٕد

A work arround is to put th CGJ (034F COMBINING GRAPHEME JOINER) between Hamza and Kasra
<p> &#x0642;&#x0627;&#x0649;&#x0655;&#x034F;&#x0650;&#x062F;<p> قاىٕ͏ِد

This works with some basic fonts (e.g. Arial), but most fonts break it giving
(d) hamzacgjkasrabroken

Question : what is the right rendering of this example (a), (b) or (d) ?
Or which font is broken, the one that puts the Kasra above Hamza (b) or the one which break the joining as in (d)?
Knowing that Arabic Hamza bellow is not of large use in Arabic. When Hamza is to be prononced (’i), it is put ABOVE the letter Yeh ئ and coded (U+0626 ARABIC LETTER YEH WITH HAMZA ABOVE). Thus, the above word (qā’id) is actually
(e) hamzanormalabove

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with issue #147's HTML entity example and compare the Hamza/Kasra renderings shown in images (a), (b), and (d), including the CGJ workaround. Done means documenting which rendering is correct and clarifying the affected Arabic-script font behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.