Apache OpenOffice (AOO) Bugzilla – Issue 72868
Writer/Impress: line does not break after Chinese punctuation and before Latin letters
Last modified: 2008-09-01 13:13:54 UTC
OpenOffice.org Writer 2.0.1, Chinese Traditional characters. Microsoft Windows XP, Chinese Traditional characters. 1. Type the following text, where "X" means Chinese punctuation (for example: <ã€>), and "a" means Latin letters. aaaXaaaXaaaX aaaXaaaXaaaX -> and so on 2. Expect the line to break after "X" and before "a" (where it is legitimate to do so). If required, adjust the actual text so as to expect the line to break there. 3. In fact it won't allow it to break there. It will be linked together. 4. After "X", change "a" to a Chinese character. Line break is normal. Thanks. Qiyao
Reassigned to SBA.
Please attach a sample document to reproduce the problem.
Created attachment 42420 [details] word break problem
The first line with the "," style punctuation (ã€) breaks at the spaces included in the text, not at the punctuation (unfortunately OOo doesn't show spaces at the end of a line, see issue 20878) - remove the spaces and the line will break at the page-margin at whatever character hits the margin I'm not sure what's wrong with the second example. the red one splits at <text>æ¼¢ 1<text> So this is correct, isn't it? The second line fits completely, so there is no reason to break at the blue area - or did I get something wrong? With the third example I know think I understand the problem: It breaks <text>æ¼¢ 1<text> and also <text>ã€ã€ã€ æ¼¢<text> ########## So the correct behaviour would be to also break like this: <text>ã€ã€ã€ 1<text> Did I understand correctly?
The first example should break in the blue, instead of where it does. According to Chinese punctation rules, it it allowed to break at the blue, instead choosing to breaking at the space instead of the blue. Example of situation where the problem was first found: 好人ã€good applesã€å£žé¬¼ã€bad orangesã€å†ä¸€äº›ã€and more and so on etc. with Latin spaces and Chinese punctuations. It should be allowed the break after: (1) any Chinese character; (2) any Chinese punctuation which is allowed to end a line; (3) any Latin space; both on the condition that the next character is allowed to begin a line, and Chinese punctation is not allowed to begin a line. The second example explains the ability of the break in the red (where it is able to), but in fact it should break at the blue (where it is unable to). The third example explains the problem of the second example. It should break in the blue between the Chinese punctuation and the numeral, where it is allowed to. If you replace the numeral with a Latin letter, you get the same problem. Thanks. Qiyao
In summary, OpenOffice can break at Latin space, "after Chinese Character and before Latin letter", and "after Chinese punctuation and before Chinese character", but it cannot break "after Chinese punctuation and before Latin letter". Thanks. Qiyao
I am changing it to "framework" because the Impress linebreaker has the same problem. In a moderately-sized text box, entering: 111 11ã€11111ã€1111ã€1111 it breaks at the space instead of after Chinese punctuation. If you need more clarification, please e-mail me. Thanks. Qiyao
confirming issue, removing needmoreinfo keyword Sorry for the delay, the comments slipped my attention
SBA: Reassigned to Karl Hong.
according to release status meeting -> target 3.x
fixed in cws i18n41
ready for QA.
set target milestone to OOo 3.0.
Verified in CWS i18n41.
SBA: Re-verified in OOO300_m4. Closed.