Bug 174973 Master page "n of m" page count misaligned in PDF output
The second number in the "n of m" is not aligned vertically with the other elements in the grid. The numbers were aligned in 2.1.1, but are misaligned in 2.1.2 and in BIRT 2.2M4. To reproduce: - Open enclosed report and generate PDF or - Create new report - modify Master page by adding n of m page count - shrink column width of grid to .15 in for each column so the elements are closer together (makes alignment problem noticeable)
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
/**
		 * Draws the background color at the contentByteUnder of the pdf
		 * @param color			the color to be drawed
		 * @param x				the start X coordinate
		 * @param y				the start Y coordinate
		 * @param width			the width of the background dimension
		 * @param height 		the height of the background dimension
		 */
		private void drawBackgroundColor(Color color, float x, float y, float width, float height)
		{
			if (null == color)
			{
				return;
			}
			cbUnder.saveState();
			cbUnder.setColorFill(color);
			cbUnder.rectangle(x, y-height, width, height);
			cbUnder.fill();
			cbUnder.restoreState();
		}
		
		private final class tplValueTriple
		{
			private final float tplOrigin;
			private final float tplSize;
			private final float translation;
			public tplValueTriple(final float val1, final float val2, final float val3)
			{
				tplOrigin = val1;
				tplSize = val2;