spans.manual label text is vertical for Unicode characters

Hi everyone,
I am creating an annotation interface for Chinese and Korean texts. However, it seems like Unicode characters are displayed vertically, while ASCII characters are displayed horizontally as expected.

An example of the issue is shown below.

Screenshot 2021-08-16 171131

Did I do something wrong, or is this a bug?

I've done some additional testing, and it seems like a newline is added for only certain characters.
Screenshot 2021-08-16 172823

I'm still not exactly sure what is causing this problem though.

Ah, that's strange – thanks for the report! Could you post some examples of the labels that produce the newline formatting as copy-pastable strings so I can try and reproduce this? It definitely seems like it's somehow related to the specific characters and how they're rendered inline :thinking: Also, do any of your labels include spaces?

Edit: I think I found a problem where labels containing spaces would end up being wrapped and I fixed this for the upcoming patch release by ensuring the labels never wrap. This should also fix the problem you reported!

Edit 2: Just released v1.11.1, which should fix this and prevent labels from wrapping.

Wow, thank you so much! This resolved my issue.

1 Like