mustafa0x / kitab-font

A classical Arabic Naskh font
Other
76 stars 6 forks source link

Allow special dammatan, fathatan and kathratan for tajweed cases #10

Closed Ysajid closed 3 years ago

Ysajid commented 3 years ago

For tajweed, in Madani mushaf a special form of dammatan, fathatan and kathratan is used. The case is handled in me quran and KFGQPC Uthmanic hafs font by using font ligture. Can that also be implemented in kitab font?

The special characters' unicodes are:

  1. dammatan (u065e)
  2. fathatan (u0657)
  3. kathratan (u0656)

The font ligture combinations

  1. dammatan (u064c u06ed)
  2. fathatan (u064b u0659)
  3. kathratan (u064d u06e2)

releted issue https://gitlab.com/greentech/quran/Quranfiles/-/issues/91

mustafa0x commented 3 years ago

That approach is incorrect; see Quran-text for the proper approach:

Use open Tanween (U+08F0, U+08F1, U+08F2) in ikhfaa and idghaam cases, instead of regular Tanween (U+064B, U+064C, U+064D).

Ysajid commented 3 years ago

Jajhakallahu khairan @mustafa0x

Ysajid commented 3 years ago

One concern is that, won't it create compatibility issues with other fonts (KFGQPC hafs, Me Quran etc.)?

mustafa0x commented 3 years ago

وإياكم

won't it create compatibility issues

Custom ligatures isn't a matter where compatibility is a goal. Unicode compliancy is.

The Quran text linked to above remains (mostly) the same as long as there is Unicode support, while QPC's text breaks when copying and pasting (e.g. as a message on social media).

Ysajid commented 3 years ago

Custom ligatures isn't a matter where compatibility is a goal. Unicode compliancy is. The Quran text linked to above remains (mostly) the same as long as there is Unicode support, while QPC's text breaks when copying and pasting (e.g. as a message on social media).

Understood.