Bug 164426 Different display between html and pdf output[0300]
Description: Image background of label displays different between in html and pdf output. Build number: 2.2.0.v20061114-0634 Steps to reproduce: 1.Add a label and new a style. 2.Set background image and set to no repeat. 3.Preview in html and pdf. You will get two different output. HTML shows the topper part of image, while in pdf shows the bottom part of image. Expected result: Show the topper part of image in both two of outputs.
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
}
	 		}
			drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ), 
						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ), 
						pdfMeasure(border.borderWidth), border.borderColor, "solid", cb ); 
			return;
		}
		
		
		/**
		 * Draws a line from the start position to the end position with the given
		 * linewidth, color, and style at the given pdf layer.
		 * 
		 * @param startX			the start X coordinate of the line
		 * @param startY 			the start Y coordinate of the line
		 * @param endX 				the end X coordinate of the line
		 * @param endY 				the end Y coordinate of the line
		 * @param width 			the lineWidth
		 * @param color 			the color of the line
		 * @param lineStyle 		the given line style
		 * @param contentByte 		the given pdf layer
		 */
		private void drawLine(float startX, float startY, float endX, float endY, float width, 
				Color color, String lineStyle, PdfContentByte contentByte )
		{
			 
			
			if (null == color || 0f == width || "none".equalsIgnoreCase(lineStyle)) 
			{
				return;