Some widget/library to support Uthmani script
Some widget/library to support Uthmani script
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
I'm not sure wether it should be a widget or a library (probably based on pango) to support Uthmani script. It would be some sort of rendering engine.
A use case is the tanween: there are three cases of tanween: iqlaab (إقلاب), idghaam (إدغام) and idh'haar (إظهار).
The rule depends on the character following the tanween.
So, the font should only know how to draw the different types of tanween, but not the rule to select which tanween to draw.
Rather it is the job of the rendering engine to do so.
* How to handle different qira'at (Hafs, Warsh,...)
* There can be a case where one would quote a verse of Qur'an, then some other text (say commentary), so there must be a way to make the engine stop Uthmani rendering at the end of the verse.