Bug 183541 [Automation][Regression] total page auto text did not work properly in pdf report
steps to reproduce: - use the attached report design - preview in pdf expected behavior: - total page auto text should be output properly actual behavior: - it did not do so
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFPage.java
boolean overline, boolean underline, CSSValue align,
			boolean isTotoalPage )
	{
		drawText( text, textX, textY, fontInfo, characterSpacing, wordSpacing,
				color, align, isTotoalPage );
		
		
		PdfContentByte currentContentByte = isTotoalPage
				? totalPageTemplate
				: contentByte;
		float lineWidth = fontInfo.getLineWidth( );
		if ( linethrough )
		{
			drawLine( textX, textY, width, lineWidth, convertToPoint( fontInfo
					.getLineThroughPosition( ) ), color, currentContentByte );
		}
		if ( overline )
		{
			drawLine( textX, textY, width, lineWidth, convertToPoint( fontInfo
					.getOverlinePosition( ) ), color, currentContentByte );
		}
		if ( underline )
		{
			drawLine( textX, textY, width, lineWidth, convertToPoint( fontInfo
					.getUnderlinePosition( ) ), color, currentContentByte );
		}
	}
	public void drawTotalPage( String text, int textX, int textY, int width,
			int height, TextStyle textInfo )
	{