haxeui-core icon indicating copy to clipboard operation
haxeui-core copied to clipboard

bidi problem

Open yzn-h opened this issue 2 years ago • 2 comments

when i type "اسمي yzn كيف الحال"(github is bad at bidi to lol) in a text area it is displayed wrong haxeui: image

gtk text area: image

Expected Behavior

the text should be like this image

godot 4 has good implementation

Current Behavior

displaying the Arabic word correctly but treats the sentence as a LTR sentence

Possible Solution

Steps to Reproduce (for bugs)

  1. make a textarea
  2. type "اسمي yzn كيف الحال"

Media

Test app / minimal test case

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop or mobile):
  • Link to your project:

yzn-h avatar Aug 19 '22 00:08 yzn-h

Hi,

which backend is this?

Cheers, Ian

ianharrigan avatar Aug 19 '22 05:08 ianharrigan

Also, when you get a moment, can you run this: https://try.haxe.org/#a91BcFe5

and let me know what the results are, for example i get: direction: ltr, writing mode: horizontal-tb

Also, what about the rest of haxeui? Ie, not just the textinputs... what about, for example, thats items in a listview?

ianharrigan avatar Aug 19 '22 05:08 ianharrigan