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
y - absPosY - height);
							}
							remainX = 0;
						} else {
							if (height - absPosY > img.scaledHeight())
								cbUnder.addTemplate(template, x + width - remainX,
										y - absPosY - img.scaledHeight());
							else
								cbUnder.addTemplate(template, x + width - remainX,
										y - absPosY - height);
							remainX -= img.scaledWidth();
						}
					}
				}
				
				else if ("repeat-y".equalsIgnoreCase(repeat)) 
				{
					float remainY = height;
					
					
					
					
					
					PdfTemplate template = null;
					if (height > img.scaledHeight()) {
						template = cbUnder.createTemplate(width - absPosX > img
								.scaledWidth() ? img.scaledWidth() : width
								- absPosX, img.scaledHeight());
						template.addImage(img, img.scaledWidth(), 0, 0, img
								.scaledHeight(), 0, 0);