Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353962

Summary: non-breaking line spaces are breaking in PDF
Product: z_Archived Reporter: HarryIX <ian.cool>
Component: BIRTAssignee: Birt-Report-inbox <Birt-Report-inbox>
Status: CLOSED FIXED QA Contact: Maggie Shen <lshen>
Severity: major    
Priority: P3 CC: bluesoldier
Version: 2.5.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description HarryIX CLA 2011-08-05 01:32:55 EDT
Build Identifier: v20100210-0630

In a text block there is string - Inclded is a person's name eg "Joe Blogs" written as "Joe&nbsp;Blogs". When the PDF is generated because BIRT splits the name over the line even though there is a non-breaking line space. I could hard code a break there, but that is not a solution as the length of the string before the name can vary.
(I am not allowed to split up a name as it should always be on the same line)
I am using BIRT 2.5.2 and have been locked into this version by corporate.
I also have issues with updating the emitter across our system so any error that can be entered into the report as a sript would be beneficial. Thanks

Reproducible: Always

Steps to Reproduce:
1.Create a text block (html)
2.enter a long sentence
3.run the report and see where the line breaks.
4.go back and edit that break and insert the non-breaking line space &nbsp;
5. witness the error
Comment 1 Xiaoying Gu CLA 2011-08-22 01:27:54 EDT
not reproducible on latest release build.
Comment 2 Xiaoying Gu CLA 2011-08-22 01:28:34 EDT
please use the 370 release build.