Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
137 stars 2 forks source link

Japanese/Chinese/Korean text is missing automatic line-breaking in UIX #480

Open Psychpsyo opened 11 months ago

Psychpsyo commented 11 months ago

Is your feature request related to a problem? Please describe.

Japanese, Chinese and Korean (CJK) Text does not have automatic line-breaking in UIX. image (Japanese lorem ipsum in a UIX translator)

Describe the solution you'd like

CJK text should automatically get broken into multiple lines when it is too long, ideally while following the languages' line-breaking rules. (These mostly boil down to certain characters like punctuation or brackets being disallowed at the starts or ends of lines.)

Describe alternatives you've considered

  1. Not doing this. (Why?)
  2. Manually putting the line-breaks. (annoying and not always possible)

Additional Context

This works almost fine in bounded TextRenderers. (On the second and third lines, you can see and at the start of lines, which ideally shouldn't happen.) image

epicEaston197 commented 11 months ago

lol yeah sorry i have a lot of tabs open i got confused