aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWael El Oraiby <wael.eloraiby@gmail.com>2016-01-30 20:42:20 -0500
committerWael El Oraiby <wael.eloraiby@gmail.com>2016-01-30 20:42:20 -0500
commit7828903cc54415d348968e79f6a32b6d90271640 (patch)
tree182fed9ef78f57184735a1530813175eb6864eff
parent787220cff87d915906341ec2277b79ac2a619ae5 (diff)
Update README.md
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index c33f34c..541d080 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-<U><B>Arabtype</B></U>
+# Arabtype
A small and simple implementation that transform isolated arabic utf8 character
strings into contextual forms useful for rendering (rendering example is provided).
@@ -7,7 +7,7 @@ This is mostly suitable for lightweight UIs (embedded systems, games, media play
It's worthy to note that this is far more lightweight than HarfBuzz (used by Qt/Pango...).
Freetype 2 on the other hand lacks this functionality.
-<U><B>Usage:</B></U>
+### Usage
One call will convert a utf8 string to a sequence of code points:
@@ -30,16 +30,16 @@ Where
`return`: return the total number of code points transformed
-<U><B>Details:</B></U>
+### Details
Arabic letters have 4 forms: Isolated, Initial, Medial and Ending. An arabic letter will have one of these forms depending on the letters preceding and succeeding it: For instance take the letter ﺡ : This is the isolated form (i.e. nothing precedes nor succeeds it), if it comes at the start of a syllable it will have the initial form ( ﺣ ). If it ends a syllable it will have the ending form ( ﺢ ) and if it is in the middle of a syllable it will have the medial form ( ﺤ ). Some even have more complicated ligature forms (such as Lam and Alef together: ﻻ ) . A utf8 arabic string usually only comprises of isolated letters from [Arabic Unicode Block](http://en.wikipedia.org/wiki/Arabic_%28Unicode_block%29). With this library you will transform it to the rendering/presentation form: [Arabic Presentation Forms B](http://en.wikipedia.org/wiki/Arabic_Presentation_Forms-B)
-<U><B>Example ([Khalil Gibran](http://en.wikipedia.org/wiki/Kahlil_Gibran)'s Al-Nay):</B></U>
+### Example ([Khalil Gibran](http://en.wikipedia.org/wiki/Kahlil_Gibran)'s Al-Nay)
![ScreenShot](https://raw.github.com/eloraiby/arabtype/master/example.png)
-<U><B>LICENSE:</B></U>
+### LICENSE
Arabtype, Copyrights 2012-2015(c) Wael El Oraiby. All rights reserved.