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
simulateBold(cb, x, y);
	            	break;
				}
			case Font.BOLDITALIC:
				{
					simulateBold(cb, x, y);
					simulateItalic(cb, x, y);
					break;
				}
			}
		}
		
		private void simulateBold(PdfContentByte cb, float x, float y)
		{
			cb.setTextRenderingMode(PdfContentByte.TEXT_RENDER_MODE_FILL_STROKE);
	    	cb.setLineWidth(0.9f);
	    	cb.setTextMatrix(x, y);
		}
		private void simulateItalic(PdfContentByte cb, float x, float y)
		{
			float alpha = (float) Math.tan(0f * Math.PI / 180);
			float beta = (float) Math.tan(15f * Math.PI / 180);
			cb.setTextMatrix(1, alpha, beta, 1, x, y);
		}
		
		/**
		 * Converts the layout measure to PDF, the measure of layout is 1000 times
		 * larger than that of PDF
		 * 
		 * @param layoutMeasure