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
layoutPointX2PDF( bi.endX-bi.borderWidth/2+outerBorderWidth/2 ), layoutPointY2PDF( bi.endY ), 
	 	 						pdfMeasure(outerBorderWidth), bi.borderColor, "solid", cb ); 
	 	 				drawLine( layoutPointX2PDF( bi.startX+bi.borderWidth/2-innerBorderWidth/2 ), 
	 	 						layoutPointY2PDF( bi.startY+3*borders[BorderInfo.TOP_BORDER].borderWidth/4 ), 
	 	 						layoutPointX2PDF( bi.endX+bi.borderWidth/2-innerBorderWidth/2 ), 
	 	 						layoutPointY2PDF( bi.endY-3*borders[BorderInfo.BOTTOM_BORDER].borderWidth/4 ), 
	 	 						pdfMeasure(innerBorderWidth), bi.borderColor, "solid", cb ); 
	 	 				break;
	 				}
	 			}
	 		}
		}
		
		
		
		/**
		 * Draws a chunk of text at the pdf.
		 * @param text					the textArea to be drawed.
		 * @param textX					the X position of the textArea relative to current page.
		 * @param textY					the Y position of the textArea relative to current page.
		 * @param contentByte			the content byte to draw the text.
		 * @param contentByteHeight		the height of the content byte.
		 */
		protected void drawTextAt( ITextArea text, int textX, int textY, 
				PdfContentByte contentByte, float contentByteHeight )
		{	 
			IStyle style = text.getStyle();
			assert style!=null;