https://bugs.documentfoundation.org/show_bug.cgi?id=163475

            Bug ID: 163475
           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, applying Kashida is by adding "ـ" U+0640 ARABIC TATWEEL _between_
letters. However, a more elegant way is by stretching a specific letter within
the word. 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.

Please check examples with images in this github issue:
https://github.com/latex3/babel/issues/317

I attached a screenshot of the examples here.

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.

Reply via email to