Wrap incorrect when there are Chinese words

Are you missing a feature? Request its implementation here.
jingjun_long
Posts: 4
Joined: Fri Apr 25, 2025 11:02 am

Wrap incorrect when there are Chinese words

Post by jingjun_long »

Hello Oxygen Colleagues,

We are using Oxygen XML Editor 27.1 on Windows. We use the embedded publishing engine to generate PDF from DITA.

It is a Chinese manual which xml:lang="zh-CN". In some cases the Chinese word wrapped early which is not expected.
image.png
In above screenshot, there is space in previous line, but the word wrapped to the next line.

It works fine in English manual and this problem only exist in Chinese manual. I guess it related to the wrap algorism in Chemistry Engine. It treat "式,YUV422" as a word.

The request is to improve the algorism to wrap text correctly.
You do not have the required permissions to view the files attached to this post.
julien_lacour
Posts: 709
Joined: Wed Oct 16, 2019 3:47 pm

Re: Wrap incorrect when there are Chinese words

Post by julien_lacour »

Hello,

Could you specify the possible variants of line breaks and indicate which one is preferable ([↵] is the line break location)?
  • XXXX 数据格式,[↵]YUV422
  • XXXX[↵] 数据格式,YUV422
  • XXXX 数据[↵]格式,YUV422
  • Other?
Regards,
Julien
jingjun_long
Posts: 4
Joined: Fri Apr 25, 2025 11:02 am

Re: Wrap incorrect when there are Chinese words

Post by jingjun_long »

Hello Julien,
Thanks for looking into this issue.
The first one in your list looks better.
J.J.
Post Reply