Bug 140321 locale based font config file support
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/PDFLineAreaLMTest.java
}
	/**
	 * Test case for bugzilla bug <a
	 * href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=157189">157189</a> :
	 * HTML BR tags cease to work for text element after page break in PDF
	 * 
	 * @throws EngineException
	 */
	public void testForeignContent( ) throws EngineException
	{
		String designFile = "org/eclipse/birt/report/engine/layout/pdf/LineAreaLMTest-157189.xml";
		IReportRunnable report = openReportDesign( designFile );
		List pageAreas = getPageAreas( report );
		
 		assertEquals( 2, pageAreas.size( ) );
		PageArea pageArea = (PageArea)pageAreas.get( 1 );
		Iterator logicContainers = pageArea.getBody( ).getChildren( );
		IContainerArea blockContains = (IContainerArea) logicContainers
					.next( );
		Iterator lineAreas = blockContains.getChildren( );
		lineAreas.next( );
		LineArea emptyLine = (LineArea)lineAreas.next( );
		assertTrue( "Second line is not an empty line.", isEmpty( emptyLine ) );
		LineArea lineArea = (LineArea)lineAreas.next( );
		assertEquals( " ", getText( lineArea, 2 ) );
		assertEquals( "paragraph 22.", getText( lineArea, 5 ) );
	}
	
	
}