Bug 230218 [JFace] Test failures in PresentationsTestSuite and RCP Tests
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FontRegistry.java
}
        
        
        if (fonts.length > 0) {
			return fonts[0];
		}
        
         
        return null;
    }
    /**
     * Find the first valid fontData in the provided list. 
     * If none are valid return the first one regardless.
     * If the list is empty return <code>null</code>.
     * 
     * @param fonts list of fonts
     * @param display the display
     * @return font data like described above
     * @deprecated use filterData in order to preserve 
     * multiple entry fonts on Motif
     */
    public FontData[] bestDataArray(FontData[] fonts, Display display) {
        FontData bestData = bestData(fonts, display);
        if (bestData == null) {
			return null;
		}
        
        FontData[] datas = new FontData[1];
        datas[0] = bestData;
        return datas;