Page 1 of 1

Wrap incorrect when there are Chinese words

Posted: Mon Sep 08, 2025 5:43 am
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.

Re: Wrap incorrect when there are Chinese words

Posted: Thu Sep 11, 2025 9:48 am
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

Re: Wrap incorrect when there are Chinese words

Posted: Fri Sep 12, 2025 8:43 am
by jingjun_long
Hello Julien,
Thanks for looking into this issue.
The first one in your list looks better.
J.J.