The Imlaei script is a modern Arabic writing style commonly used for implementing search due to its simplified and phonetic structure. Below is a comparison of two sample Ayahs in Imlaei and Uthmani scripts.
| Ayah | Imlaei Script | Uthmani Script |
|---|---|---|
| Surah Al-Fatihah (1:4) | مالكِ يومِ الدِّينِ | مَّلِكِ يومِ الدِّينِ |
| Surah Al-Baqarah (2:2) | ذَلِكَ الكِتَابُ لا رَيْبَ فِيهِ | ذَّالِكَ الكِتَّابُ لا رَيْبَ فِيهِ |
This resource provides Quranic script in Imlaei Script - Ayah by ayah format. The script uses Unicode text with specialized font rendering for digital applications.
| Field | Type | Description |
|---|---|---|
| verse_key | String | Reference in the format surah:ayah (e.g., 1:1) |
| text | String | Unicode text of the verse in Imlaei Script - Ayah by ayah script |
| script_type | String | Type of script rendering (text_imlaei) |
| font_family | String | CSS font family for proper rendering (qpc-hafs) |
| page_number | Integer | Mushaf page number where this verse appears |
| juz_number | Integer | Juz number (1-30) containing this verse |
| hizb_number | Integer | Hizb number (1-60) containing this verse |
/* Include the font family in your CSS */
.quran-text {
font-family: 'qpc-hafs', 'Amiri', serif;
direction: rtl;
text-align: right;
}
// Fetch verse data
fetch('/api/v1/verses/1:1.json')
.then(response => response.json())
.then(data => {
document.getElementById('verse').innerHTML = data.text;
document.getElementById('verse').className = 'qpc-hafs';
});