Bug 28638 [Preferences] Import Preferences: Crashes on eclipse
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FontRegistry.java
/**
	 * Shut downs this resource registry and disposes of all registered fonts.
	 */
	private void handleDisplayDispose() {
		for (Iterator e = stringToFont.values().iterator(); e.hasNext();) {
			Object next = e.next();
			if (next instanceof Font) {
				((Font) next).dispose();
			}
		}
		stringToFont.clear();
		listeners.clear();
	}
	/**
	 * Hook a dispose listener on the SWT display.
	 */
	private void hookDisplayDispose(Display display) {
		display.disposeExec(new Runnable() {
			public void run() {
				handleDisplayDispose();
			}
		});
	}
	/**
	 * Checks whether the given font is in the list of fixed fonts.
	 */
	private boolean isFixedFont(FontData[] fixedFonts, FontData fd) {
		
		
		int height = fd.getHeight();