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
int startX = bi.startX;
				int startY = bi.startY;
				int endX = bi.endX;
				int endY = bi.endY;
				Color borderColor = bi.borderColor;
				switch ( bi.borderType )
				{
					case BorderInfo.TOP_BORDER :
						pageGraphic.drawLine( startX, startY - borderWidth / 2
								+ outerBorderWidth / 2, endX, endY
								- borderWidth / 2 + outerBorderWidth / 2,
								outerBorderWidth, borderColor, "solid" ); 
						pageGraphic.drawLine( startX + 3
								* borders[BorderInfo.LEFT_BORDER].borderWidth
								/ 4, startY + borderWidth / 2
								- innerBorderWidth / 2, endX - 3
								* borders[BorderInfo.RIGHT_BORDER].borderWidth
								/ 4, endY + borderWidth / 2 - innerBorderWidth
								/ 2, innerBorderWidth, borderColor, "solid" ); 
						break;
					case BorderInfo.RIGHT_BORDER :
						pageGraphic.drawLine( startX + borderWidth / 2
								- outerBorderWidth / 2, startY, endX
								+ borderWidth / 2 - outerBorderWidth / 2, endY,
								outerBorderWidth, borderColor, "solid" ); 
						pageGraphic.drawLine( startX - borderWidth / 2
								+ innerBorderWidth / 2, startY + 3
								* borders[BorderInfo.TOP_BORDER].borderWidth
								/ 4, endX - borderWidth / 2 + innerBorderWidth
								/ 2, endY - 3