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
.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 = style.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( );
		int clipWidth = width;
		if ( fontInfo.getSimulation( )
				&& Font.ITALIC == fontInfo.getFontStyle( ) )
		{
			clipWidth = (int) ( width + height
					* EmitterUtil.getItalicHorizontalCoefficient( ) );
		}
		pageGraphic.clip( textX, textY, clipWidth, height );
		TextStyle textStyle = new TextStyle( fontInfo, characterSpacing,
				wordSpacing, color, linethrough, overline, underline, align );
		drawTextAt( text, x, y, width, height, textStyle );
		pageGraphic.clipRestore( );