Bug 213841 [Automation][Regression]Border style does not work correctly in PDF
Description: Border style does not work correctly in PDF Test Date: 20071225 Test Build: BIRT2.3.0 Daily Build: v20071225-1306 Step to reproduce: 1. Use the report attached 2. Preview it Expect result: Please refer to golden file attached Actual result: Please refer to failed screen shot attached
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/PageDeviceRender.java
drawBorder( borders );
			}
		}
	}
	/**
	 * Draws a chunk of text at the pdf.
	 * 
	 * @param text
	 *            the textArea to be drawed.
	 * @param textX
	 *            the X position of the textArea relative to current page.
	 * @param textY
	 *            the Y position of the textArea relative to current page.
	 * @param contentByte
	 *            the content byte to draw the text.
	 * @param contentByteHeight
	 *            the height of the content byte.
	 */
	protected void drawTextAt( ITextArea text, int textX, int textY )
	{
		IStyle style = text.getStyle( );
		assert style != null;
		
		float fontSize = text.getFontInfo( ).getFontSize( );
		int x = textX + getScaledValue( (int) ( fontSize * H_TEXT_SPACE ) );
		int y = textY + getScaledValue( (int) ( fontSize * V_TEXT_SPACE ) );
		FontInfo fontInfo = new FontInfo( text.getFontInfo( ) );
		fontInfo.setFontSize( fontInfo.getFontSize( ) * scale );
		int characterSpacing = getScaledValue( PropertyUtil