Bug 140321 locale based font config file support
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/layout/pdf/font/FontConfigReaderTest.java
assertEquals( 1, compositeFonts.size( ) );
		Map testFont = (Map) compositeFonts.get( "test font" );
		assertEquals( 2, testFont.size( ) );
		assertEquals( "Symbol", testFont.get( new Integer( 0 ) ) );
		assertEquals( "Helvetica", testFont.get( "default" ) );
	}
	private boolean isMappedTo( char c, String from, String to )
	{
		BaseFont font = fontMappingManager.getMappedFont( c,
				createCssValueList( from ), Font.NORMAL );
		return isIn( to, font.getFullFontName( ) );
	}
	private CSSValueList createCssValueList( String fontName )
	{
		return createCssValueList( new String[]{fontName} );
	}
	private CSSValueList createCssValueList( String[] fontNames )
	{
		ListValue result = new ListValue( );
		for ( int i = 0; i < fontNames.length; i++ )
		{
			StringValue value = new StringValue( CSSPrimitiveValue.CSS_STRING,
					fontNames[i] );
			result.append( value );
		}
		return result;
	}
	private boolean isIn( String fontName, String[][] familyFontName )
	{
		assert ( fontName != null );