This method of the Device Class retrieves the number of fonts used by the device.
public int getNumberOfFonts();
Returns the number of fonts.