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
handleHyperlinkAction( container, curPos );
			}
		}
		
		
		
		/**
		 * 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; 
			
		    
		    
			float fontSize = text.getFontInfo().getFontSize();
			float characterSpacing = pdfMeasure( PropertyUtil.getDimensionValue(
		        	style.getProperty(StyleConstants.STYLE_LETTER_SPACING)) );
			float wordSpacing = pdfMeasure( PropertyUtil.getDimensionValue(
		        	style.getProperty(StyleConstants.STYLE_WORD_SPACING)) );
			contentByte.saveState();