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
{
			public static final int TOP_BORDER = 0;
			public static final int RIGHT_BORDER = 1;
			public static final int BOTTOM_BORDER = 2;
			public static final int LEFT_BORDER = 3;
			public int startX, startY, endX, endY;
			public int borderWidth;
			public Color borderColor;
			public CSSValue borderStyle;
			public int borderType;
			public BorderInfo(int startX, int startY, int endX, int endY, 
					int borderWidth, Color borderColor, CSSValue borderStyle, int borderType)
			{
				this.startX = startX;
				this.startY = startY;
				this.endX = endX;
				this.endY = endY;
				this.borderWidth = borderWidth;