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
package org.eclipse.birt.report.engine.emitter.pdf;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.print.PageFormat;
import java.awt.print.Paper;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URL;
import java.util.Stack;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.batik.transcoder.TranscoderInput;
import org.apache.batik.transcoder.print.PrintTranscoder;
import org.eclipse.birt.report.engine.api.IHTMLActionHandler;