Bug 211978 [Automation][Acceptance]Exception is thrown out when preview report in PDF
Description: Exception is thrown out when preview report in PDF Test Date: 20071205 Test Build: BIRT2.3.0 DailyBuildv20071205 0800 Step to reproduce: 1. Use the report attached 2. Preview it in PDF Expect result: Report should be previewed without any exception Actual result: A StringIndexOUtOfBoundsException is thrown out
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
* PDFConstants.LAYOUT_TO_PDF_RATIO) + letterSpacing *originalText.length();
						Dimension d = new Dimension( areaWidth,
								(int)(chunk.getFontInfo().getWordHeight() * PDFConstants.LAYOUT_TO_PDF_RATIO));	
						
						IArea builtArea = buildArea(getReverseText(originalText), content, chunk.getFontInfo(), d);
						PDFTextLM.this.addTextLine(builtArea);
						PDFTextLM.this.newLine();
						currentPos = chunk.getText().length();
						vestigeIndex = -1;
						return;
					}
					currentPos = 0;
					vestigeIndex = -1;
					vestigeLength = 0;
					wr = new ICUWordRecognizer(chunk.getText( ), context.getLocale( ));
				}
				else
				{
					return;
				}
			}
			if (isNew)
			{
				isNew = false;
				if (isInline)
				{
					AbstractArea con = (AbstractArea)AreaFactory.createInlineContainer(content, true, false);
					con.setWidth(leftBorder+leftPadding);
					con.setHeight( (int)(chunk.getFontInfo().getWordHeight()*PDFConstants.LAYOUT_TO_PDF_RATIO)
							+ topBorder + topPadding + bottomBorder + bottomPadding);