Bug 191947 [Regression]PDF output: extra/broken border
Regression bug:168136 Get the attached report design file, and preview the pdf. The border is truncated. Build version:2.2.0.v20070611-0956
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/PageDeviceRender.java
drawBackgroundImage( style, startX, startY, width, height );
			
			int borderTopWidth = getScaledValue( style
					.getProperty( StyleConstants.STYLE_BORDER_TOP_WIDTH ) );
			int borderLeftWidth = getScaledValue( style
					.getProperty( StyleConstants.STYLE_BORDER_LEFT_WIDTH ) );
			int borderBottomWidth = getScaledValue( style
					.getProperty( StyleConstants.STYLE_BORDER_BOTTOM_WIDTH ) );
			int borderRightWidth = getScaledValue( style
					.getProperty( StyleConstants.STYLE_BORDER_RIGHT_WIDTH ) );
			if ( borderTopWidth > 0 || borderLeftWidth > 0
					|| borderBottomWidth > 0 || borderRightWidth > 0 )
			{
				
				Color borderTopColor = PropertyUtil.getColor( style
						.getProperty( StyleConstants.STYLE_BORDER_TOP_COLOR ) );
				Color borderRightColor = PropertyUtil
						.getColor( style
								.getProperty( StyleConstants.STYLE_BORDER_RIGHT_COLOR ) );
				Color borderBottomColor = PropertyUtil
						.getColor( style
								.getProperty( StyleConstants.STYLE_BORDER_BOTTOM_COLOR ) );
				Color borderLeftColor = PropertyUtil.getColor( style
						.getProperty( StyleConstants.STYLE_BORDER_LEFT_COLOR ) );
				
				BorderInfo[] borders = new BorderInfo[4];
				borders[BorderInfo.TOP_BORDER] = new BorderInfo(
						layoutX,
						layoutY + borderTopWidth / 2,