Bug 155632 Highlight red&Cursive does not work correctly
Highlight red&Cursive does not work correctly Steps to reproduce: 1. New a datasource "sample db" 2. Data set(sampleSet): select * from CLASSICMODELS.CUSTOMERS; 3. Drag a column [""CUSTOMERNAME""] from Data Explorer to the Layout and select it 4. Go to "Highlights" tab, click "add" button Condition: row["CUSTOMERNAME"] like "%a%" Font: Cursive, Color: red, bold" 5. Preview in PDF Expected result: highlight works well Actual result: red does not take effect
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
public void visitAutoText(ITemplateArea templateArea)
		{
			assert(cb!=null);
			if (null == tpl)
			{
				tplWidth = templateArea.getWidth();
				tplHeight = templateArea.getHeight();
				tpl = cb.createTemplate(pdfMeasure(tplWidth), pdfMeasure(tplHeight));
			}
			cb.saveState();
			ContainerPosition curPos;
			if ( !containerStack.isEmpty() )
				curPos = (ContainerPosition)containerStack.peek();	
			else 
				curPos = new ContainerPosition(0, 0);
			float x = layoutAreaX2PDF(curPos.x + templateArea.getX());
			float y = layoutAreaY2PDF(curPos.y + templateArea.getY(),  tplHeight);
			cb.addTemplate(tpl, x, y);
			cb.restoreState();
		}
		/**
		 * If the container is a PageArea, this method creates a pdf page.
		 * If the container is the other containerAreas, 
		 * such as TableArea, or just the border of textArea/imageArea
		 * this method draws the border and background of the given container.
		 * @param container				the ContainerArea specified from layout
		 */
		public void startContainer(IContainerArea container)
		{