Bug 155765 Set font Andalus to element, preview in pdf, system throws exception
Set font Andalus to element, preview in pdf, system throws exception Steps: 1.Create a label into layout 2.Set font Andalus 3.Preview in pdf Actual Results: 1.System throws exception org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontMappingManager.java
FontMappingManager( )
	{
		initializeFontMapping( );
		initializeFontEncoding( );
	}
	
	protected void initializeFontMapping()
	{
		fontMapping = new HashMap();
		
		fontMapping.put(SERIF, DEFAULT_SERIF_FONT);
		fontMapping.put(SANS_SERIF, DEFAULT_SANS_SERIF_FONT);
		fontMapping.put(CURSIVE, DEFAULT_CURSIVE_FONT);
		fontMapping.put(MONOSPACE, DEFAULT_MONOSPACE_FONT);
		fontMapping.put(FANTASY, DEFAULT_FANTASY_FONT);
	}
	
	protected void initializeFontEncoding()
	{
		fontEncoding = new HashMap();
		
		fontEncoding.put(BaseFont.TIMES_ROMAN, BaseFont.WINANSI);
		fontEncoding.put(BaseFont.HELVETICA, BaseFont.WINANSI);
		fontEncoding.put(BaseFont.COURIER, BaseFont.WINANSI);
		fontEncoding.put(BaseFont.SYMBOL, BaseFont.WINANSI);
		fontEncoding.put(BaseFont.ZAPFDINGBATS, BaseFont.WINANSI);		
		fontEncoding.put("Times", BaseFont.WINANSI);	
	}