Skip to content

Commit

Permalink
Add texts and links removed in 427dd02
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafah committed Oct 18, 2016
1 parent 0d05e6a commit b7a24c5
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions index.html
Expand Up @@ -101,6 +101,16 @@ <h3>Encoding</h3>
<p>Unicode also has a partial set of <em>non-semantic</em> encoded characters for the Arabic script, under blocks <em>Arabic Presentation Forms-A</em> and <em>Arabic Presentation Forms-B</em>, which are deprecated and should not be used in general interchange.</p>
</section>

<section id="h_characters">
<h3>Characters</h3>

<p>Arabic script uses Arabic alphabet, diacritics, numbers, punctuations and symbols, and control characters. Appendix <a href="#characters-tables"></a> lists these characters.</p>

<p>The majority of these characters are common among different languages. There are two different set of digits for 0–9 (<span class="uname">U+0660</span><span class="uname">U+0669</span> and <span class="uname">U+06F0</span><span class="uname">U+06F9</span>) used by different languages. Most of the alphabetical characters are used by all the languages using Arabic scripts, but there are exceptions, such as the Arabic letter <span class="lettername">yeh</span> being represented with two different characters, <span class="uname">U+064A ARABIC LETTER YEH</span> (<span lang="ar" dir="rtl">ي</span>) and <span class="uname">U+06CC ARABIC LETTER FARSI YEH</span> (<span lang="ar" dir="rtl">ی</span>). These differences among the character sets of each language are marked in the appendix tables.</p>

<p>Control characters are used to produce the correct spelling of the words or to ensure correct combination with left-to-right content. Consequently, they should be preserved when storing and displaying texts.</p>
</section>

<section id="h_direction">
<h3>Direction</h3>

Expand Down Expand Up @@ -171,15 +181,15 @@ <h4>Joining Behavior of Characters</h4>
<li><strong>Final shape:</strong> Used when the letter is joined only to its previous (right-side) letter.</li>
</ul>

<p>shows all four shapes of character <span class="uname">U+0645 ARABIC LETTER MEEM</span> (<span dir="rtl" lang="ar">م</span>).</p>
<p><a href="#letter_shapes"></a> shows all four shapes of character <span class="uname">U+0645 ARABIC LETTER MEEM</span> (<span dir="rtl" lang="ar">م</span>).</p>

<figure id="letter_shapes">
<img src="images/letter-shapes.png" alt="Four different shapes for joining to previous or succeeding letters">

<figcaption>Four different shapes for joining to previous or succeeding letters</figcaption>
</figure>

<p>For each Arabic letter, based on the joining behavior of its neighbors, one of its shapes is used in writing. demonstrates how letters join to form a word.</p>
<p>For each Arabic letter, based on the joining behavior of its neighbors, one of its shapes is used in writing. <a href="#joining_process"></a> demonstrates how letters join to form a word.</p>

<figure id="joining_process">
<img src="images/joining-process.png" alt="Joining letters by using their various shapes">
Expand Down Expand Up @@ -209,7 +219,7 @@ <h5>Joining and Intra-Word Spaces</h5>
<section id="h_ligatures">
<h4>Ligatures</h4>

<p>Almost all the writing styles of Arabic script use a special shape when letters <span class="lettername">lam</span> and <span class="lettername">alef</span> are joined. Most Arabic fonts include mandatory ligatures for this combination. Ignoring this ligature, as shown in , leads to wrong rendering of text.</p>
<p>Almost all the writing styles of Arabic script use a special shape when letters <span class="lettername">lam</span> and <span class="lettername">alef</span> are joined. Most Arabic fonts include mandatory ligatures for this combination. Ignoring this ligature, as shown in <a href="#laam-alef-ligature"></a>, leads to wrong rendering of text.</p>

<figure id="laam-alef-ligature">
<img src="images/laam-alef-ligature.png" alt="Correct and wrong ways of rendering letter lam followed by letter alef">
Expand All @@ -221,6 +231,19 @@ <h4>Ligatures</h4>
</section>
</section>

<section id="h_diacritics">
<h3>Diacritics</h3>
<p>More than one diacritics can appear after a single character subsequently and all of them should be applied over the same character. Font files usually define special shapes or positioning for combination of diacritics. These extra information should be applied in rendering texts.</p>
<p><a href="#combining_diacritics"></a> shows an example, where, according to this font’s specification, combining U+0651 ARABIC SHADDA and U+0650 ARABIC KASRA changes their positions. Various font files may require different transformations.</p>
<figure id="combining_diacritics">
<img src="images/combining-diacritics.png" alt=
"Diacritics could be combined in Arabic script." width="90%">
<figcaption>
Diacritics could be combined in Arabic script.
</figcaption>
</figure>
</section>

<section id="h_font_and_typographical_considerations">
<h3>Font and Typographical considerations</h3>

Expand Down

0 comments on commit b7a24c5

Please sign in to comment.