مستودع جاهز لعرض النص القرآني بخطوط IndoPak مع ملفات خطوط متعددة الصيغ وقواعد بيانات مضغوطة لتسريع التحميل.
| اسم الخط | معاينة |
|---|---|
| IndoPak Nastaleeq | ![]() |
| Digital Khatt Indopak | ![]() |
/* IndoPak Nastaleeq */
@font-face {
font-family: 'IndoPakFont';
src: url('fonts/1.woff2') format('woff2'),
url('fonts/1.woff') format('woff'),
url('fonts/1.ttf') format('truetype');
font-display: swap;
}
/* Digital Khatt */
@font-face {
font-family: 'DigitalKhattFont';
src: url('fonts/2.woff2') format('woff2'),
url('fonts/2.woff') format('woff'),
url('fonts/2.ttf') format('truetype');
font-display: swap;
}async function loadSimpleJSON(url) {
const res = await fetch(url);
return res.json();
}
// مثال: const db = await loadSimpleJSON('data/db_font1.json');async function loadCompressedDB(url) {
const res = await fetch(url);
const base64 = await res.text();
const binary = atob(base64);
const bytes = Uint8Array.from(binary, c => c.charCodeAt(0));
const stream = new Response(bytes).body.pipeThrough(new DecompressionStream('gzip'));
const jsonText = await new Response(stream).text();
return JSON.parse(jsonText);
}
// مثال: const db = await loadCompressedDB('data/db_font1_compressed.txt');
├── fonts/ # TTF / WOFF / WOFF2 fonts
├── data/ # JSON plus compressed TXT
├── images/ # Previews
├── index.html # Demo or landing page
└── README.md
- مخططات مصحف :

