Issue 24119 - Wrong line breaks in Hebrew
Summary: Wrong line breaks in Hebrew
Status: CLOSED DUPLICATE of issue 16372
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: All Windows 98
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hdu@apache.org
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2004-01-05 19:43 UTC by okok
Modified: 2013-08-07 14:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
a hebrew text deminstrating the wrong line breaks bug (5.41 KB, application/vnd.sun.xml.writer)
2004-01-05 19:49 UTC, okok
no flags Details
new bugdoc (5.38 KB, application/vnd.sun.xml.writer)
2004-01-12 08:53 UTC, frank.meies
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description okok 2004-01-05 19:43:43 UTC
When typing Hebrew text, series of single words seprated by a comma and a space 
(i.e. one, two, three, four) are treated like a single word, so that the whole 
series is moved to the next line instead of breaking the line at the space 
nearest to the maximum length of the line.
Comment 1 okok 2004-01-05 19:49:18 UTC
Created attachment 12281 [details]
a hebrew text deminstrating the wrong line breaks bug
Comment 2 lohmaier 2004-01-05 21:31:25 UTC
not reproducible on linux. When entering spaces or tabs between the words, only
one word at a time wraps to the next line.
Lowering Priority & adding sforbes to cc...
Comment 3 sforbes 2004-01-09 12:50:57 UTC
What version of OpenOffice are you using?

From your description, this sounds like a dup of issue #16372

At any rate, I am unable to reproduce it on my Mac. 

so this is either a dup or a windows only issue.
Comment 4 sforbes 2004-01-09 12:52:02 UTC
prog: as I won't be near a windows box soon, can you please test this so we can see if this indeed 
is a windows only issue?

Thanks!
Comment 5 okok 2004-01-10 14:57:55 UTC
I don't think this is a dup of issue #16372. As far as I can see, it happens
only in right-to-left and only with words separated by a comma or some other
sign, which are treated as a single unbreakable unit for line breaking purposes.

Unfortunately I don't have access to other OSs at the moment. My OS is a
Hebrew-enabled windows 98.
Comment 6 frank.meies 2004-01-12 08:53:59 UTC
Created attachment 12430 [details]
new bugdoc
Comment 7 frank.meies 2004-01-12 08:54:42 UTC
FME->HDU: Reproduced with SRC680m16. Please see my new bugdoc. First, the text
formatting askes for the width of the text [74,76[ (", "). The result is 139.
Calling GetTxtBreak for this text with remaining space = 138, the result is 74.
Could you please have a look?
Comment 8 hdu@apache.org 2004-01-12 10:46:17 UTC
.
Comment 9 hdu@apache.org 2004-01-12 15:56:34 UTC
HDU->HDU reminder: SimpleWinLayout::GetTextBreak in non-linear Glyph<->Char
mapping (strong RTL flag for ", ").
Comment 10 hdu@apache.org 2004-01-13 11:24:17 UTC
On a second thought the root cause was fixed in the CWS vcl7pp1r2 by the patch
for issue 16372. CWS vcl7pp1r2 got into 680m17...

*** This issue has been marked as a duplicate of 16372 ***
Comment 11 hdu@apache.org 2004-01-13 11:52:17 UTC
Verified duplicate myself with both SRC680>=m17 and FIX645==m3.
Under certain circumstances that I won't get into the problem could have
triggered a crash for some specially designed documents.

The fix will get into OOo 1.1.1, so I readjust the target and close the issue.

HDU->Soshana: Great guess! Thank you.