Bug 191947 [Regression]PDF output: extra/broken border
Regression bug:168136 Get the attached report design file, and preview the pdf. The border is truncated. Build version:2.2.0.v20070611-0956
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/PageDeviceRender.java
{
		IStyle style = text.getStyle( );
		assert style != null;
		
		float fontSize = text.getFontInfo( ).getFontSize( );
		int x = textX + getScaledValue( (int) ( fontSize * hTextSpace ) );
		int y = textY + getScaledValue( (int) ( fontSize * vTextSpace ) );
		FontInfo fontInfo = new FontInfo( text.getFontInfo( ) );
		fontInfo.setFontSize( fontInfo.getFontSize( ) * scale );
		int characterSpacing = getScaledValue( PropertyUtil
				.getDimensionValue( style
						.getProperty( StyleConstants.STYLE_LETTER_SPACING ) ) );
		int wordSpacing = getScaledValue( PropertyUtil
				.getDimensionValue( style
						.getProperty( StyleConstants.STYLE_WORD_SPACING ) ) );
		Color color = PropertyUtil.getColor( style
				.getProperty( StyleConstants.STYLE_COLOR ) );
		CSSValue align = text.getStyle( ).getProperty(
				StyleConstants.STYLE_TEXT_ALIGN );
		
		
		boolean linethrough = IStyle.LINE_THROUGH_VALUE.equals( style
				.getProperty( IStyle.STYLE_TEXT_LINETHROUGH ) );
		boolean overline = IStyle.OVERLINE_VALUE.equals( style
				.getProperty( IStyle.STYLE_TEXT_OVERLINE ) );
		boolean underline = IStyle.UNDERLINE_VALUE.equals( style
				.getProperty( IStyle.STYLE_TEXT_UNDERLINE ) );
		int width = getScaledValue( text.getWidth( ) );
		int height = getScaledValue( text.getHeight( ) );
		pageGraphic.clipSave( );