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
+ text.getFontInfo( ).getUnderlinePosition( ) ),
						layoutPointX2PDF( textX + text.getWidth( ) ),
						layoutPointY2PDF( textY
								+ text.getFontInfo( ).getUnderlinePosition( ) ),
						text.getFontInfo( ).getLineWidth( ),
						PropertyUtil.getColor( style
								.getProperty( StyleConstants.STYLE_COLOR ) ),
						"solid", contentByte ); 
			} 
		}
		/**
		 * Draws image at the contentByte
		 * @param image		the ImageArea specified from the layout
		 */
		protected void drawImage( IImageArea image )
		{	
			
			
			Image img = null;
			TranscoderInput ti = null;
			cb.saveState();
			ContainerPosition curPos;
			if ( !containerStack.isEmpty() )
				curPos = (ContainerPosition)containerStack.peek();	
			else 
				curPos = new ContainerPosition(0, 0);
			int imageX = curPos.x + image.getX();
			int imageY = curPos.y + image.getY();
			IImageContent imageContent = ((IImageContent) image.getContent());