https://bugs.documentfoundation.org/show_bug.cgi?id=164522
Bug ID: 164522
Summary: Single-letter Kashida
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
Currently, LO applies justification by adding "ـ" U+0640 ARABIC TATWEEL between
letters. However, there is another way of applying Kashida by stretching
specific letter within words. This method is popular with old scriptures,
calligraphy, and handwritten messages.
Here is a rough estimate of the algorithm for the improved Kashida.
- Start with the last word in a line, and apply stretching to the
final letter in that word.
- However, if the letter is not "stretch-able" (e.g: Arabic Meem م),
then look for middle-form Kaaf (ك) and stretch that
- If there is no Kaaf, apply the fallback Kashida by adding TATWEEL
between letters.
- TATWEEL is usually added to the last two connected letters. These
letters are not necessarily the last letters of the word since they
could be in isolated form (e.g: "الماء" --> "المـــاء") Notice
that "اء" are isolated (they cannot connect).
- Stretch-able letter forms are: كـ, ـن, ن, ت, ـت, س, ـس, ص, ـص, ـى,
ى, ف, ـف (where س and ت also their dotted variants e.g: ش and ث).
Also have a look on
<https://en.wikipedia.org/wiki/Arabic_alphabet#Table_of_basic_letters>
for reference.
Examples are attached. Examples are taken from KFGQPC print of Quran
<https://books.islamway.net/1/01_Mushaf_AlMadinah_L_549.pdf>.
Steps to Reproduce:
.
Actual Results:
.
Expected Results:
.
Reproducible: Always
User Profile Reset: No
Additional Info:
.
--
You are receiving this mail because:
You are the assignee for the bug.