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
{
			return pageHeight - pdfMeasure(layoutY);
		}
		
		/**
		 * Converts the left X coordinate of an Area from layout 
		 * to the left X coordinate in PDF
		 * @param layoutX 		the X coordinate specified from layout
		 * @return				the PDF X coordinate
		 */
		private float layoutAreaX2PDF(int layoutX)
		{
			return pdfMeasure(layoutX);
		}
		
		/**
		 * Converts the top Y coordinate of an Area from layout to the start Y coordinate in pdf. 
		 * to the bottom Y coordinate in PDF
		 * @param layoutY 		the Y coordinate specified from layout
		 * @param areaHeight	the height of the area whose coordinate need to be converted.
		 * 						To text area, the height is from the top of the text to
		 * 						the text's baseline.
		 * @return				the PDF Y coordinate
		 */
		private float layoutAreaY2PDF (int layoutY, int areaHeight)
		{
			return pageHeight - pdfMeasure(layoutY) - pdfMeasure(areaHeight);
		}
		
		/**