Typography
Typography copied to clipboard
Implement Bi-directional text
I extend this from https://github.com/LayoutFarm/Typography/issues/24.
reference:
-
http://unicode.org/reports/tr9/
-
http://userguide.icu-project.org/transforms/bidi
-
https://www.microsoft.com/middleeast/msdn/Control.aspx
-
http://stackoverflow.com/questions/8429825/unicode-bidi-text-algorithm-in-c
-
https://en.wikipedia.org/wiki/Arabic_alphabet
-
http://userguide.icu-project.org/transforms/bidi
-
http://www.iamcal.com/understanding-bidirectional-text/
-
http://site.icu-project.org/
-
https://r12a.github.io/
-
https://www.hebrewsyntax.org/bbh2/bbh2_supplement.pdf
-
http://www.unicode.org/Public/PROGRAMS/BidiReferenceJava/
-
https://github.com/prepare/SheenBidi and https://github.com/prepare/SheenFigure
-
http://arabicquick.com/learn_arabic_alphabet/
-
https://gist.github.com/prepare/2d2c81192bbda6a391a76b353d6772e9
-
https://www.w3.org/International/articles/inline-bidi-markup/uba-basics
-
https://www.w3.org/TR/alreq/
-
https://www.w3.org/International/questions/qa-html-dir
Hello, @mta452,
The Typography lib needs the Bidi algorithm glyph arrangement.
I don't know much ( I know very little) about Arabic lang. so I want to ask and notify you that
I am going to study and port your great https://github.com/mta452/SheenFigure , https://github.com/mta452/SheenBidi , https://github.com/mta452/SheenFigureLegacy and https://github.com/mta452/Tehreer-Android
to the C# version with the same Apache2 license as original.
I respect your works, I also reference your works to your original site.
Thank you very much :)
@prepare Thank you for your kind words regarding my libraries :)
Porting to C# should be easier as I borrowed many concepts from it. In fact, I wrote SheenBidi C# implementation quite some time ago but I have not been able to update it afterwards. You can take a look at it here: https://sheenbidi.codeplex.com/
Bidi, Right-to-Left, and Arabic GSUB, GPOS work-in-progress
شمس حب0123
A string is broken into pieces with our BidiBreakEngine (wraps the SheenBidi).
Then each piece is sent do glyph layout ( OpenType's GSUB, GPOS).
noto_san_arabic, 36 pts,PixelFarm vs Notepad