Typography icon indicating copy to clipboard operation
Typography copied to clipboard

Implement Bi-directional text

Open prepare opened this issue 7 years ago • 3 comments

I extend this from https://github.com/LayoutFarm/Typography/issues/24.

reference:

  1. http://unicode.org/reports/tr9/

  2. http://userguide.icu-project.org/transforms/bidi

  3. https://www.microsoft.com/middleeast/msdn/Control.aspx

  4. http://stackoverflow.com/questions/8429825/unicode-bidi-text-algorithm-in-c

  5. https://en.wikipedia.org/wiki/Arabic_alphabet

  6. http://userguide.icu-project.org/transforms/bidi

  7. http://www.iamcal.com/understanding-bidirectional-text/

  8. http://site.icu-project.org/

  9. https://r12a.github.io/

  10. https://www.hebrewsyntax.org/bbh2/bbh2_supplement.pdf

  11. http://www.unicode.org/Public/PROGRAMS/BidiReferenceJava/

  12. https://github.com/prepare/SheenBidi and https://github.com/prepare/SheenFigure

  13. http://arabicquick.com/learn_arabic_alphabet/

  14. https://gist.github.com/prepare/2d2c81192bbda6a391a76b353d6772e9

  15. https://www.w3.org/International/articles/inline-bidi-markup/uba-basics

  16. https://www.w3.org/TR/alreq/

  17. https://www.w3.org/International/questions/qa-html-dir

prepare avatar Mar 17 '17 03:03 prepare

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 avatar Jan 05 '18 01:01 prepare

@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/

mta452 avatar Jan 05 '18 06:01 mta452

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 noto_san_arabic, 36 pts,PixelFarm vs Notepad

prepare avatar Jun 02 '20 10:06 prepare