Folks who have had bad experiences with monospaced Unicode in Windows Terminal (such as when trying to printf Arabic, etc.): if you don't mind pasting the Unicode string into replies to this tweet, I will add them to my refterm test suite for future replacement terminals.
-
-
Replying to @cmuratori
Unfortunately, rendering Arabic monospaced will never look correct. Even if you use a font with fixed-width Arabic glyphs such as Courier New, there are still ligatures such as (ل+ا => لا) that are required to look correct.
2 replies 0 retweets 6 likes -
Replying to @ameensayegh
We should figure it out. I feel like if someone who knew Arabic writing well wanted to help me out here, I could easily make sure the rendering works properly in refterm. Given how many people write Arabic, it's insane not to support it. Here is some current refterm output:pic.twitter.com/4tjxYbOP6C
4 replies 0 retweets 10 likes -
Replying to @cmuratori
The Arabic output looks correct. Letter shaping is correct, Ligature substitution is correct, diacritics positioning is correct. I'm assuming no reordering is applied here because normally it looks like this: "السلام عليكم is welcome in Arabic".
1 reply 0 retweets 1 like -
Replying to @ameensayegh
After I posted that I felt compelled to go fix the parser as well :) Here is what it looks like now. Hopefully this more correct?pic.twitter.com/qej4Odj1k9
2 replies 0 retweets 3 likes -
Replying to @cmuratori
Here are crazier test cases for shaping: 1/2 ه هه ههه ههههههه ب با بو بي باب بوب بيب باااب بوووب بييب ى ىى ىىىى ىا ىو ىي ا اا ااا با اب ابا ة ةة ةةة ةاة ةب بة بةب بةة ةةب ةةبة وة ةو اةا ء ءء ءءء ءبء ءب بء بءب وء ءو ءوء وءو لا لاب بلا بلاب ولا لاو ولاو
1 reply 0 retweets 0 likes -
Replying to @ameensayegh @cmuratori
2/2: ظظىئلبيسشطكمنتضصثقفغعهخحجج ظظظ ىىى ئئئ للل ببب ييي سسس ككك ممم ضضض ققق ففف غغغ ههه خخج كما كها كمي كهي by the way, most of them are not real words :)
3 replies 0 retweets 0 likes
Thanks! I will add them to my test file...
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.